mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #20178 from vngrs/fix_wrong_default_value_of_javascript_engine
config.generators javascript_engine default value is :js not nil
This commit is contained in:
commit
1622298428
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ 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`.
|
* `helper` defines whether or not to generate helpers. Defaults to `true`.
|
||||||
* `integration_tool` defines which integration tool to use. Defaults to `nil`.
|
* `integration_tool` defines which integration tool to use. Defaults to `nil`.
|
||||||
* `javascripts` turns on the hook for JavaScript files in generators. Used in Rails for when the `scaffold` generator is run. Defaults to `true`.
|
* `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 `nil`.
|
* `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.
|
* `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_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`.
|
* `resource_route` defines whether inject resource route definition in routes or not. Defaults to `true`.
|
||||||
|
|
Loading…
Reference in a new issue