summaryrefslogtreecommitdiff
path: root/app/mailers/emails/notes.rb
diff options
context:
space:
mode:
authorRomain <romain@melting-media.com>2013-08-26 14:54:07 +0200
committerRomain <romain@melting-media.com>2013-08-26 14:54:07 +0200
commit3d8f38c683283f1e9eb5c1243b0ea9cc2ca5f6b1 (patch)
tree42fe3590a92b02d6e5c08c5ca4372c343d20c0f0 /app/mailers/emails/notes.rb
parent77a9b1449eab304a117ac50f4e7b725ef9408ac7 (diff)
downloadgitlab-ce-3d8f38c683283f1e9eb5c1243b0ea9cc2ca5f6b1.tar.gz
[#4821] - Fix some missing iids
Diffstat (limited to 'app/mailers/emails/notes.rb')
-rw-r--r--app/mailers/emails/notes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/mailers/emails/notes.rb b/app/mailers/emails/notes.rb
index 769b6e0b861..761b4c8161f 100644
--- a/app/mailers/emails/notes.rb
+++ b/app/mailers/emails/notes.rb
@@ -11,14 +11,14 @@ module Emails
@note = Note.find(note_id)
@issue = @note.noteable
@project = @note.project
- mail(to: recipient(recipient_id), subject: subject("note for issue ##{@issue.id}"))
+ mail(to: recipient(recipient_id), subject: subject("note for issue ##{@issue.iid}"))
end
def note_merge_request_email(recipient_id, note_id)
@note = Note.find(note_id)
@merge_request = @note.noteable
@project = @note.project
- mail(to: recipient(recipient_id), subject: subject("note for merge request !#{@merge_request.id}"))
+ mail(to: recipient(recipient_id), subject: subject("note for merge request !#{@merge_request.iid}"))
end
def note_wall_email(recipient_id, note_id)