diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-06-30 23:58:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 23:58:02 +0200 |
commit | 7aaf2b44ec698fd4f20b927fcac7edc0394a2647 (patch) | |
tree | 036b96777e1f525b2b76aab36204dee30cfa3345 /config/initializers | |
parent | 65506bac3f3fe233b5b7b3241020bd74eb5c9259 (diff) |
Fix remote files not using Content-Type header, streaming (#14184)
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/paperclip.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/paperclip.rb b/config/initializers/paperclip.rb index ebb009065..b4849370d 100644 --- a/config/initializers/paperclip.rb +++ b/config/initializers/paperclip.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true Paperclip::DataUriAdapter.register +Paperclip::ResponseWithLimitAdapter.register Paperclip.interpolates :filename do |attachment, style| if style == :original |