From 87b7310d6e4ac2b1da688b4e319478f2d4d41d70 Mon Sep 17 00:00:00 2001 From: Dean Lofts Date: Sun, 3 Sep 2023 00:07:11 +1000 Subject: [PATCH] fix sign out --- app/views/layouts/application.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index dc4486c..bc6adec 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -14,9 +14,9 @@ + class="<%= (current_user&.background_color.present? || (current_user&.background_image&.attached?)) ? '' : 'bg-dark text-light' %>" + style="<%= 'background-image: url(' + url_for(current_user.background_image) + ');' if current_user&.background_image&.attached? %> + <%= 'background-color:' + current_user.background_color + ';' if current_user&.background_color.present? %>"