diff options
author | Peter Leitzen <pl@neopoly.de> | 2018-07-21 11:52:07 +0300 |
---|---|---|
committer | Peter Leitzen <pl@neopoly.de> | 2018-08-10 17:45:11 +0300 |
commit | 2022243a222583daaf9e00d44fa6d1a9d75d4b02 (patch) | |
tree | 0bfd3531713747382c07f5c9cc6c12cb5ca330aa /app/services/notes | |
parent | d23fbbc6928983582198092cf28a0cd46d30252f (diff) |
Create empty Commits::UpdateService and wire it up
Diffstat (limited to 'app/services/notes')
-rw-r--r-- | app/services/notes/quick_actions_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/notes/quick_actions_service.rb b/app/services/notes/quick_actions_service.rb index 7280449bb1c..d183f280d77 100644 --- a/app/services/notes/quick_actions_service.rb +++ b/app/services/notes/quick_actions_service.rb @@ -4,7 +4,8 @@ module Notes class QuickActionsService < BaseService UPDATE_SERVICES = { 'Issue' => Issues::UpdateService, - 'MergeRequest' => MergeRequests::UpdateService + 'MergeRequest' => MergeRequests::UpdateService, + 'Commit' => Commits::UpdateService }.freeze def self.noteable_update_service(note) |