engine/lib/locomotive/carrierwave.rb
2010-10-27 02:11:44 +02:00

8 lines
281 B
Ruby

require 'carrierwave/orm/mongoid'
require 'locomotive/carrierwave/base'
require 'locomotive/carrierwave/patches'
# register missing mime types
EXTENSIONS[:eot] = 'application/vnd.ms-fontobject'
EXTENSIONS[:woff] = 'application/x-woff'
EXTENSIONS[:otf] = 'application/octet-stream'