From d8285ddf4e6bff407cd46d2f175fcee6fe0a2c86 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Thu, 23 Oct 2025 15:39:16 -0700 Subject: [PATCH] Add sign-out to the menu --- app/views/filters/menu/_places.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/views/filters/menu/_places.html.erb b/app/views/filters/menu/_places.html.erb index 01c33b51d..8b7be5b73 100644 --- a/app/views/filters/menu/_places.html.erb +++ b/app/views/filters/menu/_places.html.erb @@ -4,4 +4,11 @@ <%= filter_place_menu_item user_path(Current.user), "My Profile", "person" %> <%= filter_place_menu_item notifications_path, "Notifications", "bell" %> <%= filter_place_menu_item notifications_settings_path, "Notification Settings", "settings" %> + + <%= tag.li class: "popup__item", data: { filter_target: "item", navigable_list_target: "item" } do %> + <%= icon_tag "logout", class: "popup__icon" %> + <%= button_to session_path, method: :delete, class: "popup__btn btn", data: { turbo: false } do %> + Sign out + <% end %> + <% end %> <% end %>