From 257cde24cf195c7b90038cc8629453c6fa0567de Mon Sep 17 00:00:00 2001 From: LuigiR0jas Date: Mon, 29 Jul 2024 18:10:18 -0600 Subject: [PATCH] Small changes --- app/views/layouts/_bottom_navbar.html.erb | 2 -- app/views/layouts/application.html.erb | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/_bottom_navbar.html.erb b/app/views/layouts/_bottom_navbar.html.erb index 137360c4..c8272f81 100644 --- a/app/views/layouts/_bottom_navbar.html.erb +++ b/app/views/layouts/_bottom_navbar.html.erb @@ -1,5 +1,3 @@ - -
<%= inline_svg_tag "calendar.svg", class: nav_icon_class_for([root_path]) %> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 0259b731..d338038e 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -12,7 +12,7 @@ -
+
<% if !current_page?(new_session_path) %>
@@ -33,6 +33,6 @@ <%= button_to "Log out", session_path, method: :delete %> <% end %>
- <%= render partial: "/layouts/bottom_navbar" if current_user.present? %> + <%= render partial: "layouts/bottom_navbar" if user_signed_in? %>