Permalink
Browse files

Merge pull request #13864 from sowjumn/master

Added documentation for css_compressor in asset_pipeline.md
  • Loading branch information...
2 parents 0fcbc65 + fe8ffca commit f912eed40a6f2360ce64bdfd6d564b6f70e4c85e @rafaelfranca rafaelfranca committed Jan 29, 2014
Showing with 6 additions and 1 deletion.
  1. +6 −1 guides/source/asset_pipeline.md
@@ -938,7 +938,7 @@ Customizing the Pipeline
### CSS Compression
-There is currently one option for compressing CSS, YUI. The [YUI CSS
+One of the options for compressing CSS is YUI. The [YUI CSS
compressor](http://yui.github.io/yuicompressor/css.html) provides
minification.
@@ -948,6 +948,11 @@ gem.
```ruby
config.assets.css_compressor = :yui
```
+The other option for compressing CSS if you have the sass-rails gem installed is
+
+```ruby
+config.assets.css_compressor = :sass
+```
### JavaScript Compression

0 comments on commit f912eed

Please sign in to comment.