1
0
Fork 0
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:
Rafael Mendonça França 2012-07-31 23:14:06 -03:00
commit 3d55957c3d

View file

@ -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'.