Remove monkey patch.
This commit is contained in:
parent
574b8fdf41
commit
2c1249f381
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue