diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-02-06 15:17:23 +0300 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2018-02-06 15:28:14 +0300 |
commit | 8114a2a8f419cb6976adbd54b67232bb1d60e415 (patch) | |
tree | 265ea263e02c53da59c85ff413f2c4b0685ff241 /app/helpers/groups_helper.rb | |
parent | bfb32b46327576f5b5d4ff3d42198ba4601f1830 (diff) |
Override group sidebar links
Diffstat (limited to 'app/helpers/groups_helper.rb')
-rw-r--r-- | app/helpers/groups_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb index 676c1d1988b..45e637b225b 100644 --- a/app/helpers/groups_helper.rb +++ b/app/helpers/groups_helper.rb @@ -1,4 +1,8 @@ module GroupsHelper + def group_nav_link_paths + %w[groups#projects groups#edit ci_cd#show ldap_group_links#index hooks#index audit_events#index pipeline_quota#index] + end + def can_change_group_visibility_level?(group) can?(current_user, :change_visibility_level, group) end |