diff options
author | Rémy Coutable <remy@rymai.me> | 2018-02-16 12:00:25 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-02-27 16:02:22 +0100 |
commit | e82f629be4b9c91e2611095cd4296e487ed137ef (patch) | |
tree | fc8cb097f0b8e37c2e6fe785cf114a621e1f6b35 /app/controllers/groups | |
parent | bf41063679b25371b2e64542f2f469b38502edf6 (diff) | |
download | gitlab-ce-e82f629be4b9c91e2611095cd4296e487ed137ef.tar.gz |
Move the #update action from Project/Member controllers to the MembershipActions concern
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/controllers/groups')
-rw-r--r-- | app/controllers/groups/group_members_controller.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/controllers/groups/group_members_controller.rb b/app/controllers/groups/group_members_controller.rb index 1efd07835e2..23ade14edfd 100644 --- a/app/controllers/groups/group_members_controller.rb +++ b/app/controllers/groups/group_members_controller.rb @@ -27,14 +27,6 @@ class Groups::GroupMembersController < Groups::ApplicationController @group_member = @group.group_members.new end - def update - member = @group.members_and_requesters.find(params[:id]) - @group_member = Members::UpdateService - .new(@group, current_user, member_params) - .execute(member) - .present(current_user: current_user) - end - def resend_invite redirect_path = group_group_members_path(@group) |