This project is archived and is in readonly mode.
Changeset [e9a8e0053be3b293ab89fb584f1d660063f107aa] by Pratik Naik
August 31st, 2008 @ 07:17 PM
Add layout functionality to mailers.
Mailer layouts behaves just like controller layouts, except layout names need to have '_mailer' postfix for them to be automatically picked up. http://github.com/rails/rails/co...
Committed by Pratik Naik
- M actionmailer/CHANGELOG
- M actionmailer/lib/action_mailer/base.rb
- M actionmailer/test/fixtures/auto_layout_mailer/hello.html.erb
- M actionmailer/test/fixtures/explicit_layout_mailer/logout.html.erb
- M actionmailer/test/fixtures/explicit_layout_mailer/signup.html.erb
- M actionmailer/test/fixtures/layouts/auto_layout_mailer.html.erb
- M actionmailer/test/fixtures/layouts/spam.html.erb
- M actionmailer/test/mail_layout_test.rb
- M actionpack/lib/action_controller/layout.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>