Commit 5f9eeb6c authored by Tom Quirk's avatar Tom Quirk Committed by Gabriel Mazetto

Check for read_group_wiki in group sidebar links

parent 72f95582
......@@ -176,6 +176,10 @@ module GroupsHelper
links << :settings
end
if can?(current_user, :read_wiki, @group)
links << :wiki
end
links
end
......
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