Permalink
Browse files

Merge pull request #7147 from pferdefleisch/scaffold_controller_docs

Updated scaffold_controller generator docs #7146
  • Loading branch information...
1 parent a893672 commit 69fd0e8d6ceb59c76eba13ae01225c19a165c848 @rafaelfranca rafaelfranca committed Aug 1, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 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'.

0 comments on commit 69fd0e8

Please sign in to comment.