remove carrierwave/processing/mime_type for new version
This commit is contained in:
parent
a2b7ed7804
commit
c858144e7b
|
@ -1,5 +1,4 @@
|
|||
# encoding: utf-8
|
||||
require 'carrierwave/processing/mime_types'
|
||||
|
||||
class VideoDataImageUploader < CarrierWave::Uploader::Base
|
||||
|
||||
|
@ -7,7 +6,6 @@ class VideoDataImageUploader < CarrierWave::Uploader::Base
|
|||
# include CarrierWave::RMagick
|
||||
# include CarrierWave::MiniMagick
|
||||
include CarrierWave::MiniMagick
|
||||
include CarrierWave::MimeTypes
|
||||
|
||||
# Choose what kind of storage to use for this uploader:
|
||||
storage :file
|
||||
|
|
|
@ -1,12 +1,7 @@
|
|||
# encoding: utf-8
|
||||
require 'carrierwave/processing/mime_types'
|
||||
|
||||
class VideoDataUploader < 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