Commit 1387f9dd authored by Luke Bennett's avatar Luke Bennett Committed by Bob Van Landuyt

Correct active page state for instance statistics

parent 01fd71ad
......@@ -71,7 +71,7 @@
= link_to admin_root_path, class: 'admin-icon qa-admin-area-link', title: _('Admin area'), aria: { label: _("Admin area") }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= sprite_icon('admin', size: 18)
- if can?(current_user, :read_instance_statistics)
= nav_link(controller: :instance_statistics) do
= nav_link(controller: [:conversational_development_index, :cohorts]) do
= link_to instance_statistics_root_path, title: 'Instance statistics', aria: { label: 'Instance statistics' }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= sprite_icon('chart', size: 18)
- if Gitlab::Sherlock.enabled?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment