Class: CarrierWave::SanitizedFile
- Inherits:
-
Object
- Object
- CarrierWave::SanitizedFile
- Defined in:
- lib/locomotive/carrierwave/patches.rb
Instance Method Summary (collapse)
-
- (Object) content_type_with_file_mime_type
FIXME (Did) CarrierWave speaks mime type now.
Instance Method Details
- (Object) content_type_with_file_mime_type
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 |