Skip to content

Commit

Permalink
Fix flipper menu url
Browse files Browse the repository at this point in the history
  • Loading branch information
fumimowdan committed Oct 31, 2023
1 parent ffe57e3 commit 29fac9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/admin.html.erb
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@
<%= header.with_navigation_item(text: "Users", href: users_path, active: request.path.include?('/system-admin/users')) if current_user.has_role?(:admin) %>
<%= header.with_navigation_item(text: "Settings", href: edit_settings_path, active: request.path.include?('/system-admin/settings')) if current_user.has_role?(:admin) %>
<%= header.with_navigation_item(text: "Audits", href: audits_path, active: request.path.include?('/system-admin/audits')) if current_user.has_role?(:admin) %>
<%= header.with_navigation_item(text: "Feature Flags", href: '/system_admin/features/') if current_user.has_role?(:super_admin) %>
<%= header.with_navigation_item(text: "Feature Flags", href: '/system-admin/features') if current_user.has_role?(:super_admin) %>
<%= header.with_navigation_item(text: "Logout", href: destroy_user_session_path, active: false) %>
<% end %>

0 comments on commit 29fac9d

Please sign in to comment.