aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-07-31 23:14:06 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-07-31 23:14:14 -0300
commit3d55957c3d024e592f847b1128e939038f3588a7 (patch)
treeee082224a0e9002ea452a1a9051770612ff0967a /railties/lib
parentddd804e8181e0ca6b6b865a636284f7aae911987 (diff)
parenta725585e355c15df92055f5f23e1a1580c7dc2b3 (diff)
downloadrails-3d55957c3d024e592f847b1128e939038f3588a7.tar.gz
rails-3d55957c3d024e592f847b1128e939038f3588a7.tar.bz2
rails-3d55957c3d024e592f847b1128e939038f3588a7.zip
Merge pull request #7147 from pferdefleisch/scaffold_controller_docs
Updated scaffold_controller generator docs #7146
Diffstat (limited to 'railties/lib')
-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'.