private Method

Base.render(opts)

There's no documentation for this item.

Source Code

# File action_mailer/base.rb, line 497
def render(opts)
  body = opts.delete(:body)
  if opts[:file] && opts[:file] !~ /\//
    opts[:file] = "#{mailer_name}/#{opts[:file]}"
  end
  initialize_template_class(body).render(opts)
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.