From ed00e69a13ad55ce5e44e6838985832d35f0873c Mon Sep 17 00:00:00 2001 From: maddiebaka Date: Tue, 24 Oct 2023 20:57:35 -0400 Subject: [PATCH] Fix sign-in/sign-out top bar UI --- app/views/layouts/application.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 2612ff8..9f286e6 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -18,7 +18,8 @@
<% if user_signed_in? %> -

Welcome <%= current_user.username %>

+

Welcome <%= current_user.username %>

+
|
<%= link_to "Sign Out", destroy_user_session_path, data: { turbo_method: :delete } %> <% else %> <%= link_to "Sign In", new_user_session_path %>