instance method
default_template_format
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18 PrivateAvailable in: v2.2.3 v2.3.18
Signature
default_template_format()
No documentation comment.
Source
# File actionmailer/lib/action_mailer/base.rb, line 606
def default_template_format
if @current_template_content_type
Mime::Type.lookup(@current_template_content_type).to_sym
else
:html
end
end
Defined in actionmailer/lib/action_mailer/base.rb line 606
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::Base