diff options
author | Nicholas La Roux <larouxn@gmail.com> | 2019-03-18 08:17:26 +0900 |
---|---|---|
committer | Nicholas La Roux <larouxn@gmail.com> | 2019-03-19 08:22:07 +0900 |
commit | d82839b0eec704e9ddf278fe886448f2059d693b (patch) | |
tree | 12cd93524719e38f1438c32f69020c852a40d2e3 /guides/source | |
parent | ded9a154241989cc65f4f38d7c9643f2cdf01a65 (diff) | |
download | rails-d82839b0eec704e9ddf278fe886448f2059d693b.tar.gz rails-d82839b0eec704e9ddf278fe886448f2059d693b.tar.bz2 rails-d82839b0eec704e9ddf278fe886448f2059d693b.zip |
Revert "Remove `javascripts` and `javascript_engine` options for generators"
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/configuring.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index a61ba5dc9f..54a74dd649 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -204,6 +204,8 @@ The full set of methods that can be used in this block are as follows: * `helper` defines whether or not to generate helpers. Defaults to `true`. * `integration_tool` defines which integration tool to use to generate integration tests. Defaults to `:test_unit`. * `system_tests` defines which integration tool to use to generate system tests. Defaults to `:test_unit`. +* `javascripts` turns on the hook for JavaScript files in generators. Used in Rails for when the `scaffold` generator is run. Defaults to `true`. +* `javascript_engine` configures the engine to be used (for eg. coffee) when generating assets. Defaults to `:js`. * `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 a resource route definition should be generated |