diff options
author | Jon Moss <maclover7@users.noreply.github.com> | 2016-01-20 20:13:34 -0500 |
---|---|---|
committer | Jon Moss <maclover7@users.noreply.github.com> | 2016-01-20 20:13:34 -0500 |
commit | c555c03bc104670cfdbbd0e6828e325ec46545fa (patch) | |
tree | c982d04176fd6eecf246f959bbb4ad27cd2f117e /guides/source | |
parent | 06397336b2c9b1de9462f1baa8075573fd3709dd (diff) | |
parent | 7c643d9fcfeab2fbaa33b04bfbd09a9f14068a09 (diff) | |
download | rails-c555c03bc104670cfdbbd0e6828e325ec46545fa.tar.gz rails-c555c03bc104670cfdbbd0e6828e325ec46545fa.tar.bz2 rails-c555c03bc104670cfdbbd0e6828e325ec46545fa.zip |
Merge pull request #23150 from alxndr/guides-tweak
insert newlines into code samples in Upgrading section of Asset Pipeline doc
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/asset_pipeline.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md index 0083fc0e6c..60f78d011c 100644 --- a/guides/source/asset_pipeline.md +++ b/guides/source/asset_pipeline.md @@ -1280,8 +1280,9 @@ config.assets.debug = true And in `production.rb`: ```ruby -# Choose the compressors to use (if any) config.assets.js_compressor = -# :uglifier config.assets.css_compressor = :yui +# Choose the compressors to use (if any) +config.assets.js_compressor = :uglifier +# config.assets.css_compressor = :yui # Don't fallback to assets pipeline if a precompiled asset is missed config.assets.compile = false @@ -1290,7 +1291,8 @@ config.assets.compile = false config.assets.digest = true # Precompile additional assets (application.js, application.css, and all -# non-JS/CSS are already added) config.assets.precompile += %w( search.js ) +# non-JS/CSS are already added) +# config.assets.precompile += %w( search.js ) ``` Rails 4 no longer sets default config values for Sprockets in `test.rb`, so |