aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-10-28 13:05:27 +0200
committerGitHub <noreply@github.com>2016-10-28 13:05:27 +0200
commit0c751ada1910af2ea9b835b9ecb45aa8df76b24d (patch)
tree84266953e234fac884fe33de42f9b9531d7f80de
parenta36ef6ee3ed44e6ce1636f12da59c473dddd94bb (diff)
parentf7d54c4247df39ee79de241b9f10f3b06ea0f565 (diff)
downloadrails-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.md2
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.