From f1d04d1390ac0e755e6ac4778927bf06c86e9ba3 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 15 Dec 2024 15:10:05 +0000 Subject: Refactor user session handling and UI enhancements. Updated logout redirection with a success notice and improved UI feedback on the home page. Enhanced navbar logic to reflect user authentication state, modified page titles, and adjusted access permissions for various controllers. Fixed admin access control for PDF resources index action. --- app/views/pages/home.html.erb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/views/pages/home.html.erb') diff --git a/app/views/pages/home.html.erb b/app/views/pages/home.html.erb index 48d6433..e3dba04 100644 --- a/app/views/pages/home.html.erb +++ b/app/views/pages/home.html.erb @@ -1,4 +1,9 @@
+ <% if notice.present? %> +
+

<%= notice %>

+
+ <% end %>
-- cgit v1.2.3