aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-05-19 17:00:16 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-05-19 17:00:16 +0000
commitb3fcf2fa3c55584c6cb23d2195fbdc2647cc84cd (patch)
tree2ed35ed73689adb0ce7674638b8acc06cd8d3d5f /railties
parent7ec91d465173fe19241b8d2f2c2f1036b2fff83a (diff)
downloadrails-b3fcf2fa3c55584c6cb23d2195fbdc2647cc84cd.tar.gz
rails-b3fcf2fa3c55584c6cb23d2195fbdc2647cc84cd.tar.bz2
rails-b3fcf2fa3c55584c6cb23d2195fbdc2647cc84cd.zip
Fixed docs for scaffolding generator #1303 [thijs@vandervossen.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1312 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails_generator/generators/components/scaffold/USAGE2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/components/scaffold/USAGE b/railties/lib/rails_generator/generators/components/scaffold/USAGE
index d1f29ad63c..1b6eaa2dd9 100644
--- a/railties/lib/rails_generator/generators/components/scaffold/USAGE
+++ b/railties/lib/rails_generator/generators/components/scaffold/USAGE
@@ -25,7 +25,7 @@ Example:
database and browse to http://localhost/bank/ -- voila, you're on Rails!
Modules Example:
- ./script/generate controller 'admin/credit_card' suspend late_fee
+ ./script/generate scaffold CreditCard 'admin/credit_card' suspend late_fee
This will generate a CreditCard model and CreditCardController controller
in the admin module.