aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/CHANGELOG.md
diff options
context:
space:
mode:
authorLuke Pearce <30228+kule@users.noreply.github.com>2018-10-05 16:53:28 +0100
committerLuke Pearce <30228+kule@users.noreply.github.com>2018-10-05 17:02:40 +0100
commitc90c6c1344e62d5705f92efc323016a83a1e7351 (patch)
tree9c268caf151cee8ba4154c94d85fa542bb70ddd0 /actionmailer/CHANGELOG.md
parent0d4b2e4da6532b07d6321eb158a62ef3924917da (diff)
downloadrails-c90c6c1344e62d5705f92efc323016a83a1e7351.tar.gz
rails-c90c6c1344e62d5705f92efc323016a83a1e7351.tar.bz2
rails-c90c6c1344e62d5705f92efc323016a83a1e7351.zip
Parameterized mailers can configure delivery job
Setting parameterized_delivery_job on a mailer class will cause Parameterized::MessageDelivery to use the specified job instead of ActionMailer::Parameterized::DeliveryJob: class MyMailer < ApplicationMailer self.parameterized_delivery_job = MyCustomDeliveryJob ... end
Diffstat (limited to 'actionmailer/CHANGELOG.md')
-rw-r--r--actionmailer/CHANGELOG.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/actionmailer/CHANGELOG.md b/actionmailer/CHANGELOG.md
index 1aa7485d3e..db6fc7ee9c 100644
--- a/actionmailer/CHANGELOG.md
+++ b/actionmailer/CHANGELOG.md
@@ -1,3 +1,14 @@
+* Allow ActionMailer classes to configure the parameterized delivery job
+ Example:
+ ```
+ class MyMailer < ApplicationMailer
+ self.parameterized_delivery_job = MyCustomDeliveryJob
+ ...
+ end
+ ```
+
+ *Luke Pearce*
+
* `ActionDispatch::IntegrationTest` includes `ActionMailer::TestHelper` module by default.
*Ricardo Díaz*