method

render_message

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActionMailer::Base
render_message(method_name, body) 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 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
Register or log in to add new notes.