added support for video/* MIME types to Redmine::MimeType

requirement for coming video_upload plugin
pull/41/head
Dennis Schmidt 12 years ago committed by Martin Czuchra
parent 156342e10b
commit 25d875d819
  1. 5
      lib/redmine/mime_type.rb

@ -58,6 +58,11 @@ module Redmine
'application/x-tar' => 'tar',
'application/zip' => 'zip',
'application/x-gzip' => 'gz',
'video/x-flv' => 'flv,f4v',
'video/mpeg' => 'mpeg,mpg,mpe',
'video/quicktime' => 'qt,mov',
'video/vnd.vivo' => 'viv,vivo',
'video/x-msvideo' => 'avi',
}.freeze
EXTENSIONS = MIME_TYPES.inject({}) do |map, (type, exts)|

Loading…
Cancel
Save