diff --git a/app/uploaders/banner_image_uploader.rb b/app/uploaders/banner_image_uploader.rb index 6da9cd1..18870f7 100644 --- a/app/uploaders/banner_image_uploader.rb +++ b/app/uploaders/banner_image_uploader.rb @@ -1,5 +1,4 @@ # encoding: utf-8 -require 'carrierwave/processing/mime_types' class BannerImageUploader < CarrierWave::Uploader::Base @@ -7,7 +6,6 @@ class BannerImageUploader < 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 diff --git a/app/uploaders/banner_uploader.rb b/app/uploaders/banner_uploader.rb index 314b9cf..5201393 100644 --- a/app/uploaders/banner_uploader.rb +++ b/app/uploaders/banner_uploader.rb @@ -1,12 +1,7 @@ # encoding: utf-8 -require 'carrierwave/processing/mime_types' class BannerUploader < CarrierWave::Uploader::Base - include CarrierWave::MimeTypes - - process :set_content_type - # Include RMagick or ImageScience support: # include CarrierWave::RMagick # include CarrierWave::ImageScience