Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [e9a8e0053be3b293ab89fb584f1d660063f107aa] by Pratik Naik

Revision e9a8e0053be3b293ab89fb584f1d660063f107aa, committed 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...

9 changed files

  • 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