public Method

Base.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.

Source Code

# File action_mailer/base.rb, line 323
def mailer_name(value = nil)
  if value
    self.mailer_name = value
  else
    self.class.mailer_name
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.