Skip to content
This repository
Browse code

Fix documentation for mailer generator

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit d54aea29fc46bbf222abc3774569d074354273b2 1 parent 69d6620
David Heinemeier Hansson dhh authored
5 railties/lib/rails_generator/generators/components/mailer/USAGE
@@ -2,8 +2,7 @@ Description:
2 2 The mailer generator creates stubs for a new mailer and its views.
3 3
4 4 The generator takes a mailer name and a list of views as arguments.
5   - The mailer name may be given in CamelCase or under_score and should
6   - not be suffixed with 'Mailer'.
  5 + The mailer name may be given in CamelCase or under_score.
7 6
8 7 The generator creates a mailer class in app/models with view templates
9 8 in app/views/mailer_name, and a test suite with fixtures in test/unit.
@@ -11,7 +10,7 @@ Description:
11 10 Example:
12 11 ./script/generate mailer Notifications signup forgot_password invoice
13 12
14   - This will create a NotificationsMailer:
  13 + This will create a Notifications mailer class:
15 14 Mailer: app/models/notifications.rb
16 15 Views: app/views/notifications/signup.rhtml [...]
17 16 Test: test/unit/credit_card_controller_test.rb

0 comments on commit d54aea2

Please sign in to comment.
Something went wrong with that request. Please try again.