Skip to content

Commit ace9ff4

Browse files
committed
Merge pull request gitlabhq#5305 from saymedia/master
Fix the sigil for merge request emails
2 parents 627cb28 + 903090d commit ace9ff4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: app/mailers/emails/notes.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def note_merge_request_email(recipient_id, note_id)
1818
@note = Note.find(note_id)
1919
@merge_request = @note.noteable
2020
@project = @note.project
21-
mail(to: recipient(recipient_id), subject: subject("note for merge request !#{@merge_request.iid}"))
21+
mail(to: recipient(recipient_id), subject: subject("note for merge request ##{@merge_request.iid}"))
2222
end
2323

2424
def note_wall_email(recipient_id, note_id)

Diff for: spec/mailers/notify_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@
320320
it_behaves_like 'a note email'
321321

322322
it 'has the correct subject' do
323-
should have_subject /note for merge request !#{merge_request.iid}/
323+
should have_subject /note for merge request ##{merge_request.iid}/
324324
end
325325

326326
it 'contains a link to the merge request note' do

0 commit comments

Comments
 (0)