diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-03-03 18:51:19 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-03-04 09:14:00 +0900 |
commit | 40dcb477cc37d490b090fb6e5313cf71dec858a8 (patch) | |
tree | 4a04ac349d6406bac1a726f1a57cff05fb4160fb /guides/source | |
parent | 2c53e27992500ab0e68db18ea71ad58f6c845edb (diff) | |
download | rails-40dcb477cc37d490b090fb6e5313cf71dec858a8.tar.gz rails-40dcb477cc37d490b090fb6e5313cf71dec858a8.tar.bz2 rails-40dcb477cc37d490b090fb6e5313cf71dec858a8.zip |
add `scaffold_stylesheet` method to guide [ci skip]
`scaffold_stylesheet` was added in #20479.
Diffstat (limited to 'guides/source')
-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 1d3ff6e6e7..82e9a13aaa 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -191,6 +191,7 @@ The full set of methods that can be used in this block are as follows: * `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`. +* `scaffold_stylesheet` creates `scaffold.css` when generating a scaffolded resource. Defaults to `true`. * `test_framework` defines which test framework to use. Defaults to `false` and will use Minitest by default. * `template_engine` defines which template engine to use, such as ERB or Haml. Defaults to `:erb`. |