From 90fe90fd4a3f27b0b90f8783521642659f000152 Mon Sep 17 00:00:00 2001 From: Nastia Gorokhova-Alekseeva Date: Fri, 23 Sep 2022 14:36:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D1=8F?= =?UTF-8?q?=D0=B5=D0=BC=20=D0=BE=D0=BF=D1=80=D0=B5=D0=B4=D0=B5=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20content=5Ftype=20=D0=B4=D0=BB=D1=8F=20XLS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/paperclip/upfile.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/paperclip/upfile.rb b/lib/paperclip/upfile.rb index a4a1e3d..3fb09bf 100644 --- a/lib/paperclip/upfile.rb +++ b/lib/paperclip/upfile.rb @@ -21,6 +21,7 @@ module Paperclip when "csv", "xml", "css", "js" then "text/#{type}" when "liquid" then "text/x-liquid" when 'svg' then 'image/svg+xml' + when 'xls' then 'application/vnd.ms-excel' else "application/x-#{type}" end end