mirror of
https://github.com/redmine/redmine.git
synced 2026-07-01 00:18:56 +02:00
Moved new group user to its own action GroupsController#new_users.
git-svn-id: http://svn.redmine.org/redmine/trunk@13602 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -95,6 +95,9 @@ class GroupsController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
def new_users
|
||||
end
|
||||
|
||||
def add_users
|
||||
@users = User.where(:id => (params[:user_id] || params[:user_ids])).to_a
|
||||
@group.users << @users if request.post?
|
||||
|
||||
Reference in New Issue
Block a user