diff options
author | Rémy Coutable <remy@rymai.me> | 2016-09-09 19:51:31 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-10-03 17:57:48 +0300 |
commit | c8b1311934935c7ac7fd901558e19ac496fbad2c (patch) | |
tree | 53760b417a85f51b76ee21a343834b20bc45ede3 /app/controllers/projects/project_members_controller.rb | |
parent | 3158f57dba6dcef3e586ae8fced7deb6fdbd6dc0 (diff) |
Fix a few things after the initial improvment to Members::DestroyService
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/controllers/projects/project_members_controller.rb')
-rw-r--r-- | app/controllers/projects/project_members_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/projects/project_members_controller.rb b/app/controllers/projects/project_members_controller.rb index 1c07dd2e18b..f56b256984b 100644 --- a/app/controllers/projects/project_members_controller.rb +++ b/app/controllers/projects/project_members_controller.rb @@ -55,7 +55,8 @@ class Projects::ProjectMembersController < Projects::ApplicationController end def destroy - Members::DestroyService.new(@project, current_user, user_id: params[:id]).execute(:all) + Members::DestroyService.new(@project, current_user, params). + execute(:all) respond_to do |format| format.html do |