Skip to content

Commit

Permalink
add suggestions to mobile menu
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly committed Sep 16, 2024
1 parent 27df756 commit ad99029
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/shared/_user_mobile_dropdown.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<% c.with_menu_item_divider %>
<% c.with_menu_item_button_to t("sign_out"), Current.session, method: :delete, id: :sign_out %>
<% if Current.user&.admin? %>
<% c.with_menu_item_link_to "Suggestions", admin_suggestions_path %>
<% c.with_menu_item_link_to t("admin"), avo_path %>
<% end %>
<% end %>
Expand Down

0 comments on commit ad99029

Please sign in to comment.