From a8f4d4a9db99d3b53a62e46a48d43d3accaa83b9 Mon Sep 17 00:00:00 2001 From: Pfingstfrosch Date: Tue, 12 May 2020 19:17:13 +0200 Subject: [PATCH] Main nav bar now contains 3 menus: - Home - Search TISS - Your Favorites --- app/views/layouts/application.html.erb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 43682ba..f6d438d 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -21,18 +21,16 @@
<%= link_to 'Home', root_path %> - <%= link_to 'Search', tiss_crawler_search_path %> - <%= link_to 'Favorite People', '/favorites/favorite_person/index' %> - <%#= link_to 'Projects', projects_index_path %> - <%#= link_to 'Theses', theses_index_path %> + <%= link_to 'Search TISS', tiss_crawler_search_path %> + <%= link_to 'Your Favorites', '/favorites/index' %>
<% if user_signed_in? %> - <%= link_to 'Edit profile', edit_user_registration_path %><%= link_to "Log out", destroy_user_session_path, method: :delete %> + <%= link_to 'Edit profile', edit_user_registration_path %> + <%= link_to "Log out", destroy_user_session_path, method: :delete %> <% else %> - <%= link_to "Sign up", new_user_registration_path %><%= link_to "Log in", new_user_session_path %> + <%= link_to "Sign up", new_user_registration_path %> + <%= link_to "Log in", new_user_session_path %> <% end %>