diff options
author | Joshua Peek <josh@joshpeek.com> | 2011-04-22 10:49:55 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2011-04-22 10:49:55 -0500 |
commit | dab96a267eeccd7380ad99fa19cefdfd3cd5ad2b (patch) | |
tree | 0c98a72521328d7fd9d58788b579e780f62bd37f /railties/lib | |
parent | ed2820d6ecef7533970952437b974c7fa10192e1 (diff) | |
download | rails-dab96a267eeccd7380ad99fa19cefdfd3cd5ad2b.tar.gz rails-dab96a267eeccd7380ad99fa19cefdfd3cd5ad2b.tar.bz2 rails-dab96a267eeccd7380ad99fa19cefdfd3cd5ad2b.zip |
Add shorthand for js and css compressors
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/application/configuration.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/application/configuration.rb b/railties/lib/rails/application/configuration.rb index bd8c314da6..f818313955 100644 --- a/railties/lib/rails/application/configuration.rb +++ b/railties/lib/rails/application/configuration.rb @@ -35,6 +35,9 @@ module Rails @assets.paths = [] @assets.precompile = [ /\w+\.(?!js|css)$/, "application.js", "application.css" ] @assets.prefix = "/assets" + + @assets.js_compressor = nil + @assets.css_compressor = nil end def compiled_asset_path |