aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorAaron Cruz <aaron@aaroncruz.com>2012-07-24 19:50:49 +0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-07-31 23:13:54 -0300
commita725585e355c15df92055f5f23e1a1580c7dc2b3 (patch)
treeee082224a0e9002ea452a1a9051770612ff0967a /railties
parentddd804e8181e0ca6b6b865a636284f7aae911987 (diff)
downloadrails-a725585e355c15df92055f5f23e1a1580c7dc2b3.tar.gz
rails-a725585e355c15df92055f5f23e1a1580c7dc2b3.tar.bz2
rails-a725585e355c15df92055f5f23e1a1580c7dc2b3.zip
Updated scaffold_controller generator docs #7146
It was just a copy of the controller generator documentation which was misleading. It doesn't accept arguments for views. This seems more descriptive as well. Respect 80 char limit. #7147 Made a nicer paragraph #7147
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/scaffold_controller/USAGE7
1 files changed, 3 insertions, 4 deletions
diff --git a/railties/lib/rails/generators/rails/scaffold_controller/USAGE b/railties/lib/rails/generators/rails/scaffold_controller/USAGE
index 673f69bc81..5cd51b62d4 100644
--- a/railties/lib/rails/generators/rails/scaffold_controller/USAGE
+++ b/railties/lib/rails/generators/rails/scaffold_controller/USAGE
@@ -1,8 +1,7 @@
Description:
- Stubs out a scaffolded controller and its views. Pass the model name,
- either CamelCased or under_scored, and a list of views as arguments.
- The controller name is retrieved as a pluralized version of the model
- name.
+ Stubs out a scaffolded controller, its seven RESTful actions and related
+ views. Pass the model name, either CamelCased or under_scored. The
+ controller name is retrieved as a pluralized version of the model name.
To create a controller within a module, specify the model name as a
path like 'parent_module/controller_name'.