instance method
mailer_name
Ruby on Rails 2.3.18
Since v2.2.3Signature
mailer_name(value = nil)
Override the mailer name, which defaults to an inflected version of the mailer’s class name. If you want to use a template in a non-standard location, you can use this to specify that location.
Parameters
-
valueopt = nil
Source
# File actionmailer/lib/action_mailer/base.rb, line 393
def mailer_name(value = nil)
if value
self.mailer_name = value
else
self.class.mailer_name
end
end
Defined in actionmailer/lib/action_mailer/base.rb line 393
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::Base