Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2013-01-02 23:50:24 +0400
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2013-01-02 23:50:24 +0400
commit621c6b8533b527c735bb90c0a49ed18f55af93fa (patch)
treea9ad13dbee99bb9666e39cd31afdd38b45cab76e /app/mailers
parent7335f366dc952aa371e1e17cfbe2874d51dd6f16 (diff)
Fix commit note notification
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/notify.rb4
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)