Remove monkey patch.

This commit is contained in:
Guo Xiang Tan 2016-08-23 12:04:53 +08:00
parent 574b8fdf41
commit 2c1249f381
1 changed files with 1 additions and 10 deletions

View File

@ -30,16 +30,7 @@ task 'assets:precompile:before' do
if $node_uglify
Rails.configuration.assets.js_compressor = nil
module ::Sprockets
# TODO: https://github.com/rails/sprockets-rails/pull/342
# Rails.configuration.assets.gzip = false
class Base
def skip_gzip?
true
end
end
end
Rails.configuration.assets.gzip = false
end
end