method
default_i18n_subject
v4.1.8 -
Show latest stable
- Class:
ActionMailer::Base
default_i18n_subject(interpolations = {})protected
Translates the subject using Rails I18n class under [mailer_scope, action_name] scope. If it does not find a translation for the subject under the specified scope it will default to a humanized version of the action_name. If the subject has interpolations, you can pass them through the interpolations parameter.