<!DOCTYPE html>
<html>
  <head>
    <title>WateringServer</title>
    <%= csrf_meta_tags %>

    <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  </head>

  <body>
    <nav>
      <ul>
        <% if current_user %>
          <li>
            <%= link_to 'Logout', logout_path, method: :delete %>
          </li>
        <% else %>
        <% end %>
      </ul>
    </nav>
    <%= yield %>
  </body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <title>WateringServer</title>
    <%= csrf_meta_tags %>

    <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  </head>

  <body>
    <nav>
      <ul>
        <% if current_user %>
          <li>
            <%= link_to 'Home', current_user %>
          </li>
          <li>
            <%= link_to 'Logout', logout_path, method: :delete %>
          </li>
        <% else %>
          <li>
            <%= link_to 'Login', login_path %>
          </li>
        <% end %>
      </ul>
    </nav>
    <%= yield %>
  </body>
</html>

Add home and login links to nav
Add home and login links to nav
