Class: CarrierWave::SanitizedFile
- Inherits:
-
Object
- Object
- CarrierWave::SanitizedFile
- Defined in:
- lib/locomotive/carrierwave/patches.rb
Instance Method Summary collapse
-
#content_type_with_file_mime_type ⇒ Object
FIXME (Did) CarrierWave speaks mime type now.
Instance Method Details
#content_type_with_file_mime_type ⇒ Object
FIXME (Did) CarrierWave speaks mime type now
6 7 8 |
# File 'lib/locomotive/carrierwave/patches.rb', line 6 def content_type_with_file_mime_type content_type_without_file_mime_type || File.mime_type?(original_filename) end |