diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-10 14:39:10 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-14 12:05:49 +0200 |
commit | ff3caad4caf46049c8f202849a05fb15a2aaccb8 (patch) | |
tree | 77a75ff9d82a16b4f4637452c8c5fe157e0edcbc /lib/api/groups.rb | |
parent | ae6d0aaae0d8f6251b30a8e5243a98f083f0cac9 (diff) | |
download | gitlab-ce-ff3caad4caf46049c8f202849a05fb15a2aaccb8.tar.gz |
Rename manage_group ability to admin_group for consistency with project.
Diffstat (limited to 'lib/api/groups.rb')
-rw-r--r-- | lib/api/groups.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/groups.rb b/lib/api/groups.rb index a92abd4b690..8cb9f920975 100644 --- a/lib/api/groups.rb +++ b/lib/api/groups.rb @@ -61,7 +61,7 @@ module API # DELETE /groups/:id delete ":id" do group = find_group(params[:id]) - authorize! :manage_group, group + authorize! :admin_group, group group.destroy end |