<%= stylesheet_link_tag "application" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> <% flash.each do |key, value| -%> <%= value %> <% end -%> <% if signed_in? -%> <%= link_to 'Sign out', sign_out_path, :method => :delete %> <% else -%> <%= link_to 'Sign in', sign_in_path %> <% end -%> <%= yield %>