1
0
Fork 0
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:
Erol Fornoles 2016-10-28 18:12:26 +08:00
parent a36ef6ee3e
commit f7d54c4247
No known key found for this signature in database
GPG key ID: DF0CCD8DE581AF8B

View file

@ -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.