mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #24487 from tomkadwill/action-mailer-base-docs
Update ActionMailer Mailer Models and Views documentation [ci skip]
This commit is contained in:
commit
b8d1dbf993
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ module ActionMailer
|
|||
# Like Action Controller, each mailer class has a corresponding view directory in which each
|
||||
# method of the class looks for a template with its name.
|
||||
#
|
||||
# To define a template to be used with a mailing, create an <tt>.erb</tt> file with the same
|
||||
# To define a template to be used with a mailer, create an <tt>.erb</tt> file with the same
|
||||
# name as the method in your mailer model. For example, in the mailer defined above, the template at
|
||||
# <tt>app/views/notifier_mailer/welcome.text.erb</tt> would be used to generate the email.
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue