summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2017-03-21 09:56:01 +0000
committerazul <azul@riseup.net>2017-03-21 09:56:01 +0000
commit2f6273245e178387177db54e82d796e2b7b64525 (patch)
treee07bf3969fd680eaeb978b3465e21cd451897ee2
parenteea0ee4bf0f662e202e2e7d7db264ff37634ea03 (diff)
parent806e10b4a359f15e4580139fa063f7658d777717 (diff)
Merge branch 'bugfix/deliver_now' into 'master'
upgrade: rails4.2 deprecated deliver -> deliver now Closes #16 See merge request !22
-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