Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarka Košanová <jarka@gitlab.com>2018-12-10 14:51:21 +0300
committerLin Jen-Shin <godfat@godfat.org>2019-01-07 21:30:37 +0300
commitc4d18b05846b0ca05b6aa5306596478f71752e48 (patch)
tree5d1d47cfd5fda4acf1768f9712a2852de459a99e /app/services/notes
parent0c1d6be13cb52afb32d23d625a6400e28f0a991e (diff)
Use parent instead of project
Add support for group entities to quick actions
Diffstat (limited to 'app/services/notes')
-rw-r--r--app/services/notes/quick_actions_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notes/quick_actions_service.rb b/app/services/notes/quick_actions_service.rb
index 4c14d834949..7ee9732040d 100644
--- a/app/services/notes/quick_actions_service.rb
+++ b/app/services/notes/quick_actions_service.rb
@@ -31,7 +31,7 @@ module Notes
return if command_params.empty?
return unless supported?(note)
- self.class.noteable_update_service(note).new(project, current_user, command_params).execute(note.noteable)
+ self.class.noteable_update_service(note).new(note.parent, current_user, command_params).execute(note.noteable)
end
end
end