disable spoof detector for paperclip

This commit is contained in:
Adrian Hinz 2018-04-22 00:27:51 +02:00
parent 2742b8c09d
commit ef560fcb26
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
require 'paperclip/media_type_spoof_detector'
module Paperclip
class MediaTypeSpoofDetector
def spoofed?
false
end
end
end