From 9b7af1623284f5b7f943008876924abf860a027c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Sat, 16 Mar 2024 15:37:31 +0800 Subject: [PATCH] remove carrierwave/processing/mime_type for new version --- app/uploaders/template_uploader.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/uploaders/template_uploader.rb b/app/uploaders/template_uploader.rb index 88ec7ff..018e066 100644 --- a/app/uploaders/template_uploader.rb +++ b/app/uploaders/template_uploader.rb @@ -1,12 +1,7 @@ # encoding: utf-8 -require 'carrierwave/processing/mime_types' class TemplateUploader < CarrierWave::Uploader::Base - include CarrierWave::MimeTypes - - process :set_content_type - # Include RMagick or ImageScience support: # include CarrierWave::RMagick # include CarrierWave::ImageScience