remove carrierwave/processing/mime_type for new version
This commit is contained in:
parent
33272f9193
commit
1790f64104
|
@ -1,13 +1,7 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
require 'carrierwave/processing/mime_types'
|
|
||||||
require 'carrierwave/orm/activerecord'
|
require 'carrierwave/orm/activerecord'
|
||||||
class OlympiaImagesUploader < CarrierWave::Uploader::Base
|
class OlympiaImagesUploader < CarrierWave::Uploader::Base
|
||||||
|
|
||||||
include CarrierWave::MimeTypes
|
|
||||||
|
|
||||||
process :set_content_type
|
|
||||||
include CarrierWave::MiniMagick
|
include CarrierWave::MiniMagick
|
||||||
include CarrierWave::MimeTypes
|
|
||||||
# Include RMagick or ImageScience support:
|
# Include RMagick or ImageScience support:
|
||||||
# include CarrierWave::RMagick
|
# include CarrierWave::RMagick
|
||||||
# include CarrierWave::ImageScience
|
# include CarrierWave::ImageScience
|
||||||
|
|
Loading…
Reference in New Issue