diff options
author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2013-01-02 20:50:24 +0100 |
---|---|---|
committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2013-01-02 20:50:24 +0100 |
commit | 621c6b8533b527c735bb90c0a49ed18f55af93fa (patch) | |
tree | a9ad13dbee99bb9666e39cd31afdd38b45cab76e /app/mailers | |
parent | 7335f366dc952aa371e1e17cfbe2874d51dd6f16 (diff) | |
download | gitlab-ce-621c6b8533b527c735bb90c0a49ed18f55af93fa.tar.gz |
Fix commit note notification
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/notify.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb index 5cd9b82900c..7d68e50b382 100644 --- a/app/mailers/notify.rb +++ b/app/mailers/notify.rb @@ -62,12 +62,12 @@ class Notify < ActionMailer::Base # Note # - def note_commit_email(recipient_id, note_id) + def note_commit_email(commit_autor_email, note_id) @note = Note.find(note_id) @commit = @note.noteable @commit = CommitDecorator.decorate(@commit) @project = @note.project - mail(to: recipient(recipient_id), subject: subject("note for commit #{@commit.short_id}", @commit.title)) + mail(to: recipient(commit_autor_email), subject: subject("note for commit #{@commit.short_id}", @commit.title)) end def note_issue_email(recipient_id, note_id) |