Permalink
Browse files

Use sass compressor as the default CSS compressor

With the new sprockets-rails we need to explicitly set the CSS
compressor.

See https://github.com/rails/sprockets-rails#changes-from-rails-3x
  • Loading branch information...
1 parent fa8a78d commit 3eef1c7c5d0c4538efb9e061b6fe68011f0352b1 @rafaelfranca rafaelfranca committed Feb 25, 2013
@@ -25,7 +25,7 @@
<%- unless options.skip_sprockets? -%>
# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
+ config.assets.css_compressor = :sass
# Whether to fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false

0 comments on commit 3eef1c7

Please sign in to comment.