diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-10-19 17:27:28 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-10-24 13:14:00 +0300 |
commit | c82278898d4e7932da1e0071d4dcfa13f65967f0 (patch) | |
tree | 1af7bee951a28d89c524918485361c79a3e60a7e /app/controllers/groups | |
parent | 036fac06d18e82f0d0696bd1b350548bb47125e8 (diff) | |
download | gitlab-ce-c82278898d4e7932da1e0071d4dcfa13f65967f0.tar.gz |
Refactor groups/projects members controller
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/controllers/groups')
-rw-r--r-- | app/controllers/groups/group_members_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/groups/group_members_controller.rb b/app/controllers/groups/group_members_controller.rb index 3a373e4a946..5a6e26ab8cc 100644 --- a/app/controllers/groups/group_members_controller.rb +++ b/app/controllers/groups/group_members_controller.rb @@ -21,7 +21,7 @@ class Groups::GroupMembersController < Groups::ApplicationController end def create - if params[:user_ids].empty? + if params[:user_ids].blank? return redirect_to group_group_members_path(@group), alert: 'No users specified.' end |