method
render_message
rails latest stable - Class:
ActionMailer::Base
render_message(method_name, body)private
No documentation available.
# File actionmailer/lib/action_mailer/base.rb, line 549
def render_message(method_name, body)
if method_name.respond_to?(:content_type)
@current_template_content_type = method_name.content_type
end
render :file => method_name, :body => body
ensure
@current_template_content_type = nil
end