diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-11-30 21:15:34 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-11-30 21:36:35 +0100 |
commit | 4a292aa6042f33d0b63bf95d223ae87bddcea2ce (patch) | |
tree | 48206c79d8ff11fd0aa2bffcd20507330e4c646d | |
parent | f9017a2b0384eef3f99ec2f3f1f2ef156afff2b8 (diff) | |
download | gitlab-ce-4a292aa6042f33d0b63bf95d223ae87bddcea2ce.tar.gz |
Proper cross-project references when MR is closed by issue
-rw-r--r-- | app/services/system_note_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/system_note_service.rb b/app/services/system_note_service.rb index 7e2bc834176..09c159510cd 100644 --- a/app/services/system_note_service.rb +++ b/app/services/system_note_service.rb @@ -125,7 +125,7 @@ class SystemNoteService # Returns the created Note object def self.change_status(noteable, project, author, status, source) body = "Status changed to #{status}" - body += " by #{source.gfm_reference}" if source + body += " by #{source.gfm_reference(project)}" if source create_note(noteable: noteable, project: project, author: author, note: body) end |