<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <meta name="ROBOTS" content="NOODP" />
  <title><%%= page_title %></title>
  <%%= stylesheet_link_tag :application, :media => 'all' %>
  <%%= csrf_meta_tags %>
</head>
<body class="<%%= body_class %>">
  <%%= render 'flashes' -%>
  <%%= yield %>
  <%%= render 'javascript' %>
</body>
</html>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <title></title>

    <%= stylesheet_link_tag    'application' %>
    <%= csrf_meta_tags %>
  </head>

  <body>
    <%= render 'flashes' -%>
    <%= yield %>
    <%= render 'javascript' %>
  </body>
</html>

Update the default layout template
Update the default layout template
