Proper cross-project references when MR is closed by issue
This commit is contained in:
parent
f9017a2b03
commit
4a292aa604
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class SystemNoteService
|
||||||
# Returns the created Note object
|
# Returns the created Note object
|
||||||
def self.change_status(noteable, project, author, status, source)
|
def self.change_status(noteable, project, author, status, source)
|
||||||
body = "Status changed to #{status}"
|
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)
|
create_note(noteable: noteable, project: project, author: author, note: body)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue