diff options
author | samdbeckham <sbeckham@gitlab.com> | 2018-10-17 18:44:43 +0100 |
---|---|---|
committer | Olivier Gonzalez <ogonzalez@gitlab.com> | 2018-10-23 16:00:58 -0400 |
commit | 48288f6b04288c3fed2c62074962dba5d6ec6947 (patch) | |
tree | 2e7d9404bbb4ec2d3206539bc7ae02e30a57a909 /app/helpers | |
parent | 742f8d64547c3e922afd8cb9bd2e5e64ae155924 (diff) | |
download | gitlab-ce-48288f6b04288c3fed2c62074962dba5d6ec6947.tar.gz |
Sync group sidebar template with EEadd-security-dashboard-link-ce
- Allow to extend nav links for the Group sidebar
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/groups_helper.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb index f573fd399a5..0c313e9e6d3 100644 --- a/app/helpers/groups_helper.rb +++ b/app/helpers/groups_helper.rb @@ -1,6 +1,15 @@ # frozen_string_literal: true module GroupsHelper + def group_overview_nav_link_paths + %w[ + groups#show + groups#activity + groups#subgroups + analytics#show + ] + end + def group_nav_link_paths %w[groups#projects groups#edit badges#index ci_cd#show ldap_group_links#index hooks#index audit_events#index pipeline_quota#index] end |