From f7d54c4247df39ee79de241b9f10f3b06ea0f565 Mon Sep 17 00:00:00 2001 From: Erol Fornoles Date: Fri, 28 Oct 2016 18:12:26 +0800 Subject: Add documentation for `config.assets.version` [skip ci] --- guides/source/configuring.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'guides/source/configuring.md') 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. -- cgit v1.2.3