summaryrefslogtreecommitdiff
path: root/app/controllers/admin/groups_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-22 14:11:20 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-22 14:11:20 +0300
commitee13297af2706be438666a3761938423fc9a51db (patch)
tree033488bb6f8fb7efdf0c3d3502d726469ecfb3da /app/controllers/admin/groups_controller.rb
parent59f75e6c1ec29721d1430e8dbcb5858a0ddb910a (diff)
downloadgitlab-ce-ee13297af2706be438666a3761938423fc9a51db.tar.gz
Cleanup: removed unused routing/methods. Improved admin area usability
Diffstat (limited to 'app/controllers/admin/groups_controller.rb')
-rw-r--r--app/controllers/admin/groups_controller.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/controllers/admin/groups_controller.rb b/app/controllers/admin/groups_controller.rb
index 824eaca348f..949a3996040 100644
--- a/app/controllers/admin/groups_controller.rb
+++ b/app/controllers/admin/groups_controller.rb
@@ -44,16 +44,6 @@ class Admin::GroupsController < Admin::ApplicationController
end
end
- def project_update
- project_ids = params[:project_ids]
-
- Project.where(id: project_ids).each do |project|
- project.transfer(@group)
- end
-
- redirect_to :back, notice: 'Group was successfully updated.'
- end
-
def project_teams_update
@group.add_users(params[:user_ids].split(','), params[:group_access])