diff options
author | Alexander <alxndr+github@gmail.com> | 2016-01-20 16:57:49 -0800 |
---|---|---|
committer | Alexander <alxndr+github@gmail.com> | 2016-01-20 17:06:02 -0800 |
commit | 7c643d9fcfeab2fbaa33b04bfbd09a9f14068a09 (patch) | |
tree | c982d04176fd6eecf246f959bbb4ad27cd2f117e /guides | |
parent | 06397336b2c9b1de9462f1baa8075573fd3709dd (diff) | |
download | rails-7c643d9fcfeab2fbaa33b04bfbd09a9f14068a09.tar.gz rails-7c643d9fcfeab2fbaa33b04bfbd09a9f14068a09.tar.bz2 rails-7c643d9fcfeab2fbaa33b04bfbd09a9f14068a09.zip |
insert newlines into code samples
[ci skip]
Diffstat (limited to 'guides')
-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 |