diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-08-16 02:45:23 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-08-16 19:04:26 +0300 |
commit | 41007f6d3c30a294bbf361ff900b3b19bb463291 (patch) | |
tree | 5a5bfd55bcac4587b737bd4bc877250469ff375c /app/controllers/projects/discussions_controller.rb | |
parent | 32e31d626f743c22b5ed21c50555f4670d5290f9 (diff) |
Address review feedback
Diffstat (limited to 'app/controllers/projects/discussions_controller.rb')
-rw-r--r-- | app/controllers/projects/discussions_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/discussions_controller.rb b/app/controllers/projects/discussions_controller.rb index 502aa20d7b6..620b41b1011 100644 --- a/app/controllers/projects/discussions_controller.rb +++ b/app/controllers/projects/discussions_controller.rb @@ -9,7 +9,7 @@ class Projects::DiscussionsController < Projects::ApplicationController discussion.resolve!(current_user) - MergeRequests::AllDiscussionsResolvedService.new(project, current_user).execute(merge_request) + MergeRequests::ResolvedDiscussionNotificationService.new(project, current_user).execute(merge_request) render json: { resolved_by: discussion.resolved_by.try(:name), |