mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
Remove monkey patch.
This commit is contained in:
parent
574b8fdf41
commit
2c1249f381
1 changed files with 1 additions and 10 deletions
|
@ -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 a new issue