diff options
author | Erol Fornoles <erol.fornoles@gmail.com> | 2016-10-28 18:12:26 +0800 |
---|---|---|
committer | Erol Fornoles <erol.fornoles@gmail.com> | 2016-10-28 18:13:30 +0800 |
commit | f7d54c4247df39ee79de241b9f10f3b06ea0f565 (patch) | |
tree | 84266953e234fac884fe33de42f9b9531d7f80de /guides/source | |
parent | a36ef6ee3ed44e6ce1636f12da59c473dddd94bb (diff) | |
download | rails-f7d54c4247df39ee79de241b9f10f3b06ea0f565.tar.gz rails-f7d54c4247df39ee79de241b9f10f3b06ea0f565.tar.bz2 rails-f7d54c4247df39ee79de241b9f10f3b06ea0f565.zip |
Add documentation for `config.assets.version` [skip ci]
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 18416a60ff..c625cf67f6 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -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. |