diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-02 08:50:55 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-02 08:50:55 +0000 |
commit | d54aea29fc46bbf222abc3774569d074354273b2 (patch) | |
tree | 044e152838bd05643200d37080fb32273fae5f24 /railties/lib/rails_generator/generators/components/mailer | |
parent | 69d662051e609f8fc3e28d2c77a917cd0befddca (diff) | |
download | rails-d54aea29fc46bbf222abc3774569d074354273b2.tar.gz rails-d54aea29fc46bbf222abc3774569d074354273b2.tar.bz2 rails-d54aea29fc46bbf222abc3774569d074354273b2.zip |
Fix documentation for mailer generator
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators/components/mailer')
-rw-r--r-- | railties/lib/rails_generator/generators/components/mailer/USAGE | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/railties/lib/rails_generator/generators/components/mailer/USAGE b/railties/lib/rails_generator/generators/components/mailer/USAGE index 50d3de19de..a036998a1a 100644 --- a/railties/lib/rails_generator/generators/components/mailer/USAGE +++ b/railties/lib/rails_generator/generators/components/mailer/USAGE @@ -2,8 +2,7 @@ Description: The mailer generator creates stubs for a new mailer and its views. The generator takes a mailer name and a list of views as arguments. - The mailer name may be given in CamelCase or under_score and should - not be suffixed with 'Mailer'. + The mailer name may be given in CamelCase or under_score. The generator creates a mailer class in app/models with view templates in app/views/mailer_name, and a test suite with fixtures in test/unit. @@ -11,7 +10,7 @@ Description: Example: ./script/generate mailer Notifications signup forgot_password invoice - This will create a NotificationsMailer: + This will create a Notifications mailer class: Mailer: app/models/notifications.rb Views: app/views/notifications/signup.rhtml [...] Test: test/unit/credit_card_controller_test.rb |