diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-01 00:48:12 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-01 00:48:12 +0400 |
commit | bbfbff3add4c78ce1256ac3bbe787cc6eb9fe1b9 (patch) | |
tree | 52fca95c2741559ab0961962a863c7ccb1a7e42b /app/mailers | |
parent | b53557aca64fbf55f9bbd59849d83daa10b7361f (diff) |
Extend models functionality with old decorator methods. Use Repository model
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/emails/notes.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/mailers/emails/notes.rb b/app/mailers/emails/notes.rb index de51debfeb5..769b6e0b861 100644 --- a/app/mailers/emails/notes.rb +++ b/app/mailers/emails/notes.rb @@ -3,7 +3,6 @@ module Emails def note_commit_email(recipient_id, 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)) end |