aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/configuring.md
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-03-03 18:51:19 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-03-04 09:14:00 +0900
commit40dcb477cc37d490b090fb6e5313cf71dec858a8 (patch)
tree4a04ac349d6406bac1a726f1a57cff05fb4160fb /guides/source/configuring.md
parent2c53e27992500ab0e68db18ea71ad58f6c845edb (diff)
downloadrails-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/configuring.md')
-rw-r--r--guides/source/configuring.md1
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`.