%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
- <%= link_to 'Home', root_path %>
<% if current_user %>
- <%= link_to 'Friends', friendships_path %>
- <%= link_to 'Lunches', lunches_path %>
- <%= link_to 'Users', users_path %>
<% end %>
<% if current_user %>
- <%= link_to 'Logout', logout_path, id: 'logout' %>
<% else %>
- <%= link_to 'Login with Google', '/auth/google_oauth2', id: 'login' %>
<% end %>
<%= render 'flash_messages', flash: flash %>
<%= yield %>