aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/CHANGELOG.md
diff options
context:
space:
mode:
authorMarcus Ilgner <mail@marcusilgner.com>2015-12-08 12:28:00 +0100
committerMarcus Ilgner <mail@marcusilgner.com>2015-12-08 15:50:43 +0100
commit5c54db290f4e7cdd69b461d4c0b020a9cd364537 (patch)
treee99aeb7bc344862977561899232c06a5a8a6a65d /actionmailer/CHANGELOG.md
parenta61e4ae58d65d43a97e90bdb02b6c407791e3c53 (diff)
downloadrails-5c54db290f4e7cdd69b461d4c0b020a9cd364537.tar.gz
rails-5c54db290f4e7cdd69b461d4c0b020a9cd364537.tar.bz2
rails-5c54db290f4e7cdd69b461d4c0b020a9cd364537.zip
ActionMailer: support overriding template name in multipart
Implicit rendering in multipart blocks now also uses the template name from the options hash instead of always using the action name. So you can now write mail(template_name: template_name) do |format| format.text format.html end
Diffstat (limited to 'actionmailer/CHANGELOG.md')
-rw-r--r--actionmailer/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/actionmailer/CHANGELOG.md b/actionmailer/CHANGELOG.md
index 0ecb0235bc..b19d6b87c0 100644
--- a/actionmailer/CHANGELOG.md
+++ b/actionmailer/CHANGELOG.md
@@ -1,3 +1,8 @@
+* Mails with multipart `format` blocks with implicit render now also check for
+ a template name in options hash instead of only using the action name.
+
+ *Marcus Ilgner*
+
* `config.force_ssl = true` will set
`config.action_mailer.default_url_options = { protocol: 'https' }`