about summary refs log tree commit diff
path: root/app/models/concerns
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-06-20 10:52:36 +0200
committermultiple creatures <dev@multiple-creature.party>2020-02-21 03:42:05 -0600
commit2dacf79bcc58094b58f1689189ce130fb34b2c8f (patch)
treef39a9740405d1738ae06d319699c9910bf1b37ac /app/models/concerns
parent480a83e843b92cc1fa4378b576bfd173024f3f8c (diff)
port tootsuite#11130 to monsterfork: Fix converted media being saved with original extension and mime type
Diffstat (limited to 'app/models/concerns')
-rw-r--r--app/models/concerns/attachmentable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/attachmentable.rb b/app/models/concerns/attachmentable.rb
index dd11e0814..08af107c7 100644
--- a/app/models/concerns/attachmentable.rb
+++ b/app/models/concerns/attachmentable.rb
@@ -1,6 +1,6 @@
 # frozen_string_literal: true
 
-require 'mime/types'
+require 'mime/types/columnar'
 
 module Attachmentable
   extend ActiveSupport::Concern