mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #7147 from pferdefleisch/scaffold_controller_docs
Updated scaffold_controller generator docs #7146
This commit is contained in:
commit
3d55957c3d
1 changed files with 3 additions and 4 deletions
|
@ -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'.
|
||||
|
|
Loading…
Reference in a new issue