diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-20 12:06:44 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-20 12:06:44 +0300 |
commit | 86d9ed9a0a9d58c09b89da08dd4216b89a2025a2 (patch) | |
tree | ebf98f559f8ba94d456039c15587e6e7aea2c5c6 /app/controllers/admin/groups_controller.rb | |
parent | 38a9fc4f4701ff3f2d1a06e8567f45d1bb9fb9c6 (diff) | |
download | gitlab-ce-86d9ed9a0a9d58c09b89da08dd4216b89a2025a2.tar.gz |
Fix user add to group from admin area
Diffstat (limited to 'app/controllers/admin/groups_controller.rb')
-rw-r--r-- | app/controllers/admin/groups_controller.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/controllers/admin/groups_controller.rb b/app/controllers/admin/groups_controller.rb index 6e6c8d54e29..44ec6079e5b 100644 --- a/app/controllers/admin/groups_controller.rb +++ b/app/controllers/admin/groups_controller.rb @@ -58,13 +58,6 @@ class Admin::GroupsController < Admin::ApplicationController redirect_to :back, notice: 'Group was successfully updated.' end - def remove_project - @project = Project.find(params[:project_id]) - @project.transfer(nil) - - redirect_to :back, notice: 'Group was successfully updated.' - end - def project_teams_update @group.add_users(params[:user_ids].split(','), params[:group_access]) |