I just put a plugin together specifically to make ActionMailer play nice with Haml. It also will work with Markaby or any other "unsupported" markup language. Initially, this code was s'posed to be a Rails patch, but it keeps not showing up in trunk, so here it is as a plugin. You can read about it here:
http://calicowebdev.com/blog/show/10 You can get it here: http://svn.calicowebdev.com/plugins/templated_mailer Reader's Digest version of instructions: Step 1: Get it using svn or 'ruby script/plugin install http:// svn.calicowebdev.com/plugins/templated_mailer' Step 2: Add the following line to your environment.rb ActionMailer::Base.register_template_extension('haml') Step 3: Just stop typing "rhtml". There is no Trac or anything, but your can email me with bugs or comments (and be gentle). Enjoy! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
