diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-07-31 23:14:06 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-07-31 23:15:56 -0300 |
commit | 69fd0e8d6ceb59c76eba13ae01225c19a165c848 (patch) | |
tree | 09acf675a331181cac558880e81ed8bbc36b8574 /railties/lib | |
parent | a893672f3f9ef22d2cb56a25008fc9db6122d8a2 (diff) | |
download | rails-69fd0e8d6ceb59c76eba13ae01225c19a165c848.tar.gz rails-69fd0e8d6ceb59c76eba13ae01225c19a165c848.tar.bz2 rails-69fd0e8d6ceb59c76eba13ae01225c19a165c848.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/USAGE | 7 |
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'. |