diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-02-25 10:19:02 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-02-25 10:19:02 -0300 |
commit | 3eef1c7c5d0c4538efb9e061b6fe68011f0352b1 (patch) | |
tree | 000272f11e7a2777180b7fe7b9dce80fa8b7aaa6 /railties/lib | |
parent | fa8a78d12ee470eb29d314a4f9ae5318bad4ae09 (diff) | |
download | rails-3eef1c7c5d0c4538efb9e061b6fe68011f0352b1.tar.gz rails-3eef1c7c5d0c4538efb9e061b6fe68011f0352b1.tar.bz2 rails-3eef1c7c5d0c4538efb9e061b6fe68011f0352b1.zip |
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
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt index 5669fe6d64..96f97a84b6 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt @@ -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 |