aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorJon Moss <maclover7@users.noreply.github.com>2016-03-03 19:29:07 -0500
committerJon Moss <maclover7@users.noreply.github.com>2016-03-03 19:29:07 -0500
commit8e9a1a62d35f6597aa344c9c747d5adf0ed4fe5f (patch)
tree66c2bf45d9daaac9ff9e0003bf54ead3e4803689 /guides
parent211fd1b5f524fa8105bdc5166a747becac2b01e3 (diff)
parent40dcb477cc37d490b090fb6e5313cf71dec858a8 (diff)
downloadrails-8e9a1a62d35f6597aa344c9c747d5adf0ed4fe5f.tar.gz
rails-8e9a1a62d35f6597aa344c9c747d5adf0ed4fe5f.tar.bz2
rails-8e9a1a62d35f6597aa344c9c747d5adf0ed4fe5f.zip
Merge pull request #24021 from y-yagi/add_scaffold_stylesheet_to_guide
add `scaffold_stylesheet` method to guide [ci skip]
Diffstat (limited to 'guides')
-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`.