diff options
author | Sean McGivern <sean@gitlab.com> | 2016-08-18 23:33:50 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-08-18 23:33:50 +0100 |
commit | 64d45a87cd0b56c78580b49934eb0d344321694b (patch) | |
tree | 342800e05186563389141ea3f41646d30fdb76e4 /app/controllers/admin/groups_controller.rb | |
parent | aba9cc6f227a670390cbac0c5da97784afefc5ee (diff) | |
download | gitlab-ce-64d45a87cd0b56c78580b49934eb0d344321694b.tar.gz |
Fix adding a user to a group in admin section
Diffstat (limited to 'app/controllers/admin/groups_controller.rb')
-rw-r--r-- | app/controllers/admin/groups_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/groups_controller.rb b/app/controllers/admin/groups_controller.rb index 4ce18321649..cdfa8d91a28 100644 --- a/app/controllers/admin/groups_controller.rb +++ b/app/controllers/admin/groups_controller.rb @@ -42,7 +42,7 @@ class Admin::GroupsController < Admin::ApplicationController end def members_update - @group.add_users(params[:user_ids].split(','), params[:access_level], current_user) + @group.add_users(params[:user_ids].split(','), params[:access_level], current_user: current_user) redirect_to [:admin, @group], notice: 'Users were successfully added.' end |