aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/rails
diff options
context:
space:
mode:
authorAndrew Kaspick <andrew@redlinesoftware.com>2016-02-05 13:59:17 -0500
committerAndrew Kaspick <andrew@redlinesoftware.com>2016-02-05 13:59:17 -0500
commit8417d967e016f0219cc4ec30bf0d3908ce6cd29b (patch)
treebb67f4018e308c12704183e7478a5e664b973318 /actionmailer/lib/rails
parent439fadf758f6f0bc50e3d8c6f96b0ddbd613d299 (diff)
downloadrails-8417d967e016f0219cc4ec30bf0d3908ce6cd29b.tar.gz
rails-8417d967e016f0219cc4ec30bf0d3908ce6cd29b.tar.bz2
rails-8417d967e016f0219cc4ec30bf0d3908ce6cd29b.zip
When generating a mailer, you must specify Mailer in the class name in
order to generate the proper files. Some of the docs/comments are missing this important detail.
Diffstat (limited to 'actionmailer/lib/rails')
-rw-r--r--actionmailer/lib/rails/generators/mailer/USAGE2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/rails/generators/mailer/USAGE b/actionmailer/lib/rails/generators/mailer/USAGE
index 2b0a078109..9f2a6b4cd8 100644
--- a/actionmailer/lib/rails/generators/mailer/USAGE
+++ b/actionmailer/lib/rails/generators/mailer/USAGE
@@ -8,7 +8,7 @@ Description:
Example:
========
- rails generate mailer Notifications signup forgot_password invoice
+ rails generate mailer NotificationsMailer signup forgot_password invoice
creates a Notifications mailer class, views, and test:
Mailer: app/mailers/notifications_mailer.rb