remove carrierwave/processing/mime_type for new version

This commit is contained in:
邱博亞 2024-03-16 15:37:43 +08:00
parent a2b7ed7804
commit c858144e7b
2 changed files with 0 additions and 7 deletions

View File

@ -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

View 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