diff options
author | Aditya Sanghi <aditya.sanghi@risingsuntech.net> | 2012-10-10 15:26:21 +0530 |
---|---|---|
committer | Aditya Sanghi <aditya.sanghi@risingsuntech.net> | 2012-10-10 15:28:37 +0530 |
commit | 74bd13479b4d779a824873d67d771b007567398d (patch) | |
tree | 858b623a28fa557008f6089171ff38fa2376fd8e /guides/source/4_0_release_notes.md | |
parent | da1aa759b0004e058a60229bb6cbf3363887d498 (diff) | |
download | rails-74bd13479b4d779a824873d67d771b007567398d.tar.gz rails-74bd13479b4d779a824873d67d771b007567398d.tar.bz2 rails-74bd13479b4d779a824873d67d771b007567398d.zip |
Add missing CHANGELOG related to addition of callbacks to mailers.
Diffstat (limited to 'guides/source/4_0_release_notes.md')
-rw-r--r-- | guides/source/4_0_release_notes.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/4_0_release_notes.md b/guides/source/4_0_release_notes.md index cce5bc5331..54fe49252f 100644 --- a/guides/source/4_0_release_notes.md +++ b/guides/source/4_0_release_notes.md @@ -141,6 +141,8 @@ Action Mailer end ``` +* Allow for callbacks in mailers similar to ActionController::Base. You can now set up headers/attachments using `before_filter` or `after_filter`. You could also change delivery settings or prevent delivery in an after filter based on instance variables set in your mailer action. You have access to `ActionMailer::Base` instance methods like `message`, `attachments`, `headers`. + Action Pack ----------- |