mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-26 18:56:10 +01:00
Add paperclip gem
This commit is contained in:
parent
0b44fe3f08
commit
5499ac2a03
3 changed files with 23 additions and 0 deletions
10
config/initializers/paperclip.rb
Normal file
10
config/initializers/paperclip.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#config/initilizers/paperclip.rb
|
||||
require 'paperclip/media_type_spoof_detector'
|
||||
|
||||
module Paperclip
|
||||
class MediaTypeSpoofDetector
|
||||
def spoofed?
|
||||
false
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue