@@ -80,7 +80,7 class Mailer < ActionMailer::Base | |||||
80 | def self.deliver_issue_edit(journal) |
|
80 | def self.deliver_issue_edit(journal) | |
81 | issue = journal.journalized.reload |
|
81 | issue = journal.journalized.reload | |
82 | to = journal.notified_users |
|
82 | to = journal.notified_users | |
83 | cc = journal.notified_watchers |
|
83 | cc = journal.notified_watchers - to | |
84 | journal.each_notification(to + cc) do |users| |
|
84 | journal.each_notification(to + cc) do |users| | |
85 | issue.each_notification(users) do |users2| |
|
85 | issue.each_notification(users) do |users2| | |
86 | Mailer.issue_edit(journal, to & users2, cc & users2).deliver |
|
86 | Mailer.issue_edit(journal, to & users2, cc & users2).deliver |
General Comments 0
You need to be logged in to leave comments.
Login now