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
committerGitHub <noreply@github.com>2019-06-20 10:52:36 +0200
commit8f23726918fd8ded18ce9e55e6199df87abcc7cf (patch)
tree136a343e791b418fd35354cebc00bca4aecef50f /app/models/concerns
parent7696f77245c2302787d239da50248385b3292a5e (diff)
Fix converted media being saved with original extension and mime type (#11130)
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 de4cf8775..f4e37f1e6 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