Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-07-16 21:09:35 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-16 21:09:35 +0300
commit3a9076e0a4c28af9a1a40ed5e181b70fb1b659de (patch)
tree3d531c50bec43c1845c7d74f76442b7a6f49849f /app/helpers/groups_helper.rb
parent2d8454515e7b631a8f39a6415c86154d6c62841c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/groups_helper.rb')
-rw-r--r--app/helpers/groups_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb
index a6c3c97a873..61c9bd74451 100644
--- a/app/helpers/groups_helper.rb
+++ b/app/helpers/groups_helper.rb
@@ -176,6 +176,10 @@ module GroupsHelper
links << :settings
end
+ if can?(current_user, :read_wiki, @group)
+ links << :wiki
+ end
+
links
end