<!DOCTYPE html>
<html>
<head>
  <%= javascript_include_tag :defaults %>
  <%= csrf_meta_tag %>
</head>
<body>
  <div id='header'>
    <% if signed_in? -%>
      <%= link_to t('.sign_out'), sign_out_path, :method => :delete %>
    <% else -%>
      <%= link_to t('.sign_in'), sign_in_path %>
    <% end -%>
  </div>

  <div id='flash'>
    <% flash.each do |key, value| -%>
      <div id='flash_<%= key %>'><%=h value %></div>
    <% end %>
  </div>

  <%= yield %>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tag %>
</head>
<body>
  <div id='header'>
    <% if signed_in? -%>
      <%= link_to t('.sign_out'), sign_out_path, :method => :delete %>
    <% else -%>
      <%= link_to t('.sign_in'), sign_in_path %>
    <% end -%>
  </div>

  <div id='flash'>
    <% flash.each do |key, value| -%>
      <div id='flash_<%= key %>'><%=h value %></div>
    <% end %>
  </div>

  <%= yield %>
</body>
</html>

Change JavaScript tag to Rails default
Change JavaScript tag to Rails default

https://github.com/rails/rails/blob/master/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt#L6
