You can use Haml to write your mailer views and still use the implicit multipart template feature by letting ActionMailer know about Haml:

1ActionMailer::Base.register_template_extension('haml')

Update

This is no longer necessary with Rails 2.2 and Haml 2.0.5 .

blog comments powered by Disqus