1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Revert "When generating a mailer, you must specify Mailer in the class name in"

This reverts commit 8417d967e0.

In 5697bdbb6d and af3eb5961e,
add mailer suffix to generated files and classes.
Therefore, no longer need to specify `Mailer` to class name. [ci skip]
This commit is contained in:
yuuji.yaginuma 2016-02-06 14:54:26 +09:00
parent 38b5af6595
commit ea785e535e
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ module ActionMailer
#
# To use Action Mailer, you need to create a mailer model.
#
# $ rails generate mailer NotifierMailer
# $ rails generate mailer Notifier
#
# The generated model inherits from <tt>ApplicationMailer</tt> which in turn
# inherits from <tt>ActionMailer::Base</tt>. A mailer model defines methods

View file

@ -8,7 +8,7 @@ Description:
Example:
========
rails generate mailer NotificationsMailer signup forgot_password invoice
rails generate mailer Notifications signup forgot_password invoice
creates a Notifications mailer class, views, and test:
Mailer: app/mailers/notifications_mailer.rb