remove carrierwave/processing/mime_type for new version
This commit is contained in:
parent
40d63b69b3
commit
2f0225db2a
|
@ -1,9 +1,7 @@
|
|||
# encoding: utf-8
|
||||
class CancerPredictMappingFile
|
||||
require 'carrierwave/processing/mime_types'
|
||||
include Mongoid::Document
|
||||
include Mongoid::Timestamps
|
||||
include CarrierWave::MimeTypes
|
||||
mount_uploader :temp_file, HeadImagesUploader
|
||||
|
||||
def file_identifier
|
||||
|
|
|
@ -1,12 +1,7 @@
|
|||
# encoding: utf-8
|
||||
require 'carrierwave/processing/mime_types'
|
||||
|
||||
class HeadImagesUploader < CarrierWave::Uploader::Base
|
||||
|
||||
include CarrierWave::MimeTypes
|
||||
|
||||
process :set_content_type
|
||||
|
||||
# Include RMagick or ImageScience support:
|
||||
# include CarrierWave::RMagick
|
||||
# include CarrierWave::ImageScience
|
||||
|
|
Loading…
Reference in New Issue