diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-03-05 16:53:52 -0300 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2016-03-05 16:53:52 -0300 |
commit | 1d02fb6e376c6f7224a5534d574e63dd9708cdd2 (patch) | |
tree | 3a2120a65a96cf27e45db4a06b7d12ffeaf847c1 /guides | |
parent | 2fcd57b066e54f86470648cb13df5d0547b4f24a (diff) | |
parent | 722227a6f63b0a2fc45bd150a0dd6de3b7878c46 (diff) | |
download | rails-1d02fb6e376c6f7224a5534d574e63dd9708cdd2.tar.gz rails-1d02fb6e376c6f7224a5534d574e63dd9708cdd2.tar.bz2 rails-1d02fb6e376c6f7224a5534d574e63dd9708cdd2.zip |
Merge pull request #24070 from y-yagi/remove_unnecessary_config_in_sprockets-rails-3
remove config that are no longer needed in sprockets-rails 3
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/asset_pipeline.md | 2 | ||||
-rw-r--r-- | guides/source/configuring.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md index b6c612794c..17e21b1bc6 100644 --- a/guides/source/asset_pipeline.md +++ b/guides/source/asset_pipeline.md @@ -670,7 +670,7 @@ anymore, delete these options from the `javascript_include_tag` and `stylesheet_link_tag`. The fingerprinting behavior is controlled by the `config.assets.digest` -initialization option (which defaults to `true` for production and development). +initialization option (which defaults to `true`). NOTE: Under normal circumstances the default `config.assets.digest` option should not be changed. If there are no digests in the filenames, and far-future diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 82e9a13aaa..d3a87c3820 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -157,7 +157,7 @@ pipeline is enabled. It is set to true by default. * `config.assets.manifest` defines the full path to be used for the asset precompiler's manifest file. Defaults to a file named `manifest-<random>.json` in the `config.assets.prefix` directory within the public folder. -* `config.assets.digest` enables the use of MD5 fingerprints in asset names. Set to `true` by default in `production.rb` and `development.rb`. +* `config.assets.digest` enables the use of MD5 fingerprints in asset names. Set to `true` by default. * `config.assets.debug` disables the concatenation and compression of assets. Set to `true` by default in `development.rb`. |