mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add documentation for config.assets.version
[skip ci]
This commit is contained in:
parent
a36ef6ee3e
commit
f7d54c4247
1 changed files with 2 additions and 0 deletions
|
@ -179,6 +179,8 @@ pipeline is enabled. It is set to `true` by default.
|
|||
|
||||
* `config.assets.debug` disables the concatenation and compression of assets. Set to `true` by default in `development.rb`.
|
||||
|
||||
* `config.assets.version` is an option string that is used in MD5 hash generation. This can be changed to force all files to be recompiled.
|
||||
|
||||
* `config.assets.compile` is a boolean that can be used to turn on live Sprockets compilation in production.
|
||||
|
||||
* `config.assets.logger` accepts a logger conforming to the interface of Log4r or the default Ruby `Logger` class. Defaults to the same configured at `config.logger`. Setting `config.assets.logger` to `false` will turn off served assets logging.
|
||||
|
|
Loading…
Reference in a new issue