Commit 26ff6ea0 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix major bug

parent af2a3c78
...@@ -93,7 +93,7 @@ module API ...@@ -93,7 +93,7 @@ module API
group = find_group(id) group = find_group(id)
if can?(current_user, ability, group) if can?(current_user, :read_group, group)
group group
else else
not_found!('Group') not_found!('Group')
......
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