Flowdock
method

register_template_extension

Importance_1
v2.0.3 - Show latest stable - 0 notes - Class: ActionMailer::Base
register_template_extension(extension) public

Register a template extension so mailer templates written in a templating language other than rhtml or rxml are supported. To use this, include in your template-language plugin’s init code or on a per-application basis, this can be invoked from config/environment.rb:

  ActionMailer::Base.register_template_extension('haml')
Show source
Register or log in to add new notes.