diff options
author | Aditya Sanghi <aditya.sanghi@risingsuntech.net> | 2012-10-10 14:52:02 +0530 |
---|---|---|
committer | Aditya Sanghi <aditya.sanghi@risingsuntech.net> | 2012-10-10 14:52:02 +0530 |
commit | f16ec8c864ba12c2315713af76b11be5887cfa3a (patch) | |
tree | 09f7a33f04a3600d0134b5f60857d36f32eaf6c7 /guides/source | |
parent | 4c6f75c86608d331b443eec266e2561bc9b4286a (diff) | |
download | rails-f16ec8c864ba12c2315713af76b11be5887cfa3a.tar.gz rails-f16ec8c864ba12c2315713af76b11be5887cfa3a.tar.bz2 rails-f16ec8c864ba12c2315713af76b11be5887cfa3a.zip |
Add changelog/release note entries for missing ActionMailer super feature related to inclusion of callbacks in mailers
Diffstat (limited to 'guides/source')
-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 ----------- |