method

render

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActionMailer::Base
render(opts) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionmailer/lib/action_mailer/base.rb, line 536
      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
Register or log in to add new notes.