1
0
Fork 0
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:
Vipul A M 2016-04-10 19:08:15 +05:30
commit b8d1dbf993

View file

@ -86,7 +86,7 @@ module ActionMailer
# Like Action Controller, each mailer class has a corresponding view directory in which each # 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. # 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 # 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. # <tt>app/views/notifier_mailer/welcome.text.erb</tt> would be used to generate the email.
# #