summaryrefslogtreecommitdiff
path: root/engines/support/app
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2017-03-21 10:50:29 +0100
committerAzul <azul@riseup.net>2017-03-21 10:50:29 +0100
commit806e10b4a359f15e4580139fa063f7658d777717 (patch)
tree694ce44f01d7bb2a74cafb91f9a470900b1e3a38 /engines/support/app
parent987d1bf7c87f7ea3d17c40015b2ec92a8a0b4ecc (diff)
upgrade: rails4.2 deprecated deliver -> deliver now
fixes #16
Diffstat (limited to 'engines/support/app')
-rw-r--r--engines/support/app/mailers/ticket_mailer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/support/app/mailers/ticket_mailer.rb b/engines/support/app/mailers/ticket_mailer.rb
index 9a83345..38f9a39 100644
--- a/engines/support/app/mailers/ticket_mailer.rb
+++ b/engines/support/app/mailers/ticket_mailer.rb
@@ -4,7 +4,7 @@ class TicketMailer < ActionMailer::Base
def self.send_notice(ticket, comment, url)
reply_recipients(ticket, comment.user).each do |email, key|
- TicketMailer.notice(ticket, comment, url, email, key).deliver
+ TicketMailer.notice(ticket, comment, url, email, key).deliver_now
end
end