<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="ROBOTS" content="NOODP" />
    <meta name="viewport" content="initial-scale=1" />

    <title><%= title %></title>

    <%= stylesheet_link_tag :application, media: "all" %>
    <%= csrf_meta_tags %>
  </head>
  <body class="<%= body_class %>">
    <div class="container container-app">
      <%= render "flashes" -%>

      <%= yield %>
    </div>

    <%= render "javascript" %>
  </body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="ROBOTS" content="NOODP" />
    <meta name="viewport" content="initial-scale=1" />

    <title><%= title %></title>

    <%= stylesheet_link_tag :application, media: "all" %>
    <%= csrf_meta_tags %>
  </head>
  <body class="<%= body_class %>">
    <div class="container container-app">
      <%= render "flashes" -%>

      <% if signed_in? %>
        <div>
          <p>
            Sup, <%= current_user.email %>?
            <%= link_to "Sign out", sign_out_path, method: :delete %>
          </p>
        </div>
      <% end %>

      <%= yield %>
    </div>

    <%= render "javascript" %>
  </body>
</html>

Add "sign out" link to application header
Add "sign out" link to application header
