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