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:
authorRyan Scott <ryan@ryan-scott.me>2017-04-05 05:31:48 +0300
committerSean McGivern <sean@gitlab.com>2017-07-20 17:33:24 +0300
commit7e3d34595c3e090fe505b4fbd49cde2a303b1b6f (patch)
tree17a81203a5e9b224c4974a991c5fce81b44953b4 /app/services/system_note_service.rb
parent01c9488f4a559063eba77074ba2d369de87b8018 (diff)
Changes based on MR feedback.
Marking an issue as a duplicate will now also add an upvote on behalf of the author on the original issue.
Diffstat (limited to 'app/services/system_note_service.rb')
-rw-r--r--app/services/system_note_service.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/services/system_note_service.rb b/app/services/system_note_service.rb
index 2e5e904c43d..ed079f0e495 100644
--- a/app/services/system_note_service.rb
+++ b/app/services/system_note_service.rb
@@ -552,11 +552,11 @@ module SystemNoteService
create_note(NoteSummary.new(noteable, project, author, body, action: 'moved'))
end
- # Called when a Notable has been marked as a duplicate of another Issue
+ # Called when a Noteable has been marked as a duplicate of another Issue
#
- # noteable - Noteable object
- # project - Project owning noteable
- # author - User performing the change
+ # noteable - Noteable object
+ # project - Project owning noteable
+ # author - User performing the change
# original_issue - Issue that this is a duplicate of
#
# Example Note text: