diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-08-31 20:05:59 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-08-31 20:05:59 -0500 |
commit | fe07669e276520c1da42153a9a2bfe7991bfd6d1 (patch) | |
tree | a61d114bcd87991994d542ec56f423b8767f7c89 /railties/guides/source | |
parent | 91fc86562acaff31d55f313a7f7f3e03d0166997 (diff) | |
download | rails-fe07669e276520c1da42153a9a2bfe7991bfd6d1.tar.gz rails-fe07669e276520c1da42153a9a2bfe7991bfd6d1.tar.bz2 rails-fe07669e276520c1da42153a9a2bfe7991bfd6d1.zip |
Review config.assets options.
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/configuring.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile index 798f8e405e..050fcd823d 100644 --- a/railties/guides/source/configuring.textile +++ b/railties/guides/source/configuring.textile @@ -124,7 +124,7 @@ Rails 3.1, by default, is set up to use the +sprockets+ gem to manage assets wit * +config.assets.compress+ a flag that enables the compression of compiled assets. It is explicitly set to true in +config/production.rb+. -* +config.assets.css_compressor+ defines the CSS compressor to use. Only supported value at the moment is +:yui+, which uses the +yui-compressor+ gem. +* +config.assets.css_compressor+ defines the CSS compressor to use. It is set by default by +sass-rails+. The unique alternative value at the moment is +:yui+, which uses the +yui-compressor+ gem. * +config.assets.js_compressor+ defines the JavaScript compressor to use. Possible values are +:closure+, +:uglifier+ and +:yui+ which require the use of the +closure-compiler+, +uglifier+ or +yui-compressor+ gems respectively. |