class ActionMailer::Base
Public Instance Methods
translate(key, options={})
click to toggle source
Add a translate
(or t
) method to ActionMailer
# File lib/annotranslate.rb, line 354 def translate(key, options={}) AnnoTranslate.translate_with_annotation([self.mailer_name, self.action_name], @virtual_path, key, options) end
Also aliased as: t