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 @@
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 %>