diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2015-05-17 16:29:25 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2015-05-17 16:29:25 -0300 |
commit | 8fba848757f8627131295a4d6232836445898780 (patch) | |
tree | e8be5f6b2856ce2259abfb36d4032f237642d877 /guides | |
parent | bdc1e9c28cfdefba9aee62eb240c221f622b720d (diff) | |
parent | 8edbb2792b395d76ce29cad6c85931a976a74f94 (diff) | |
download | rails-8fba848757f8627131295a4d6232836445898780.tar.gz rails-8fba848757f8627131295a4d6232836445898780.tar.bz2 rails-8fba848757f8627131295a4d6232836445898780.zip |
Merge pull request #20180 from vngrs/add_missing_documentation_about_generators_resource_route
add missing documentation about generators resource_route [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/configuring.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index e26cd0eea8..01702f4ecb 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -190,6 +190,7 @@ The full set of methods that can be used in this block are as follows: * `javascript_engine` configures the engine to be used (for eg. coffee) when generating assets. Defaults to `nil`. * `orm` defines which orm to use. Defaults to `false` and will use Active Record by default. * `resource_controller` defines which generator to use for generating a controller when using `rails generate resource`. Defaults to `:controller`. +* `resource_route` defines whether inject resource route definition in routes or not. Defaults to `true`. * `scaffold_controller` different from `resource_controller`, defines which generator to use for generating a _scaffolded_ controller when using `rails generate scaffold`. Defaults to `:scaffold_controller`. * `stylesheets` turns on the hook for stylesheets in generators. Used in Rails for when the `scaffold` generator is run, but this hook can be used in other generates as well. Defaults to `true`. * `stylesheet_engine` configures the stylesheet engine (for eg. sass) to be used when generating assets. Defaults to `:css`. |