diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-10-28 13:05:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-28 13:05:27 +0200 |
commit | 0c751ada1910af2ea9b835b9ecb45aa8df76b24d (patch) | |
tree | 84266953e234fac884fe33de42f9b9531d7f80de | |
parent | a36ef6ee3ed44e6ce1636f12da59c473dddd94bb (diff) | |
parent | f7d54c4247df39ee79de241b9f10f3b06ea0f565 (diff) | |
download | rails-0c751ada1910af2ea9b835b9ecb45aa8df76b24d.tar.gz rails-0c751ada1910af2ea9b835b9ecb45aa8df76b24d.tar.bz2 rails-0c751ada1910af2ea9b835b9ecb45aa8df76b24d.zip |
Merge pull request #26919 from Erol/add-assets-version-option
Add documentation for `config.assets.version`
-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. |