#1206 Support for .xlsm

This commit is contained in:
karel.picman@lbcfree.net 2021-02-10 12:38:14 +01:00
parent 6565467468
commit baff1d2257

View File

@ -49,7 +49,7 @@ class DmsfFileRevision < ActiveRecord::Base
'application/vnd.oasis.opendocument.spreadsheet' => 'ms-excel',
'application/vnd.oasis.opendocument.text' => 'ms-word',
'application/vnd.oasis.opendocument.presentation' => 'ms-powerpoint',
'application/vnd.ms-excel.sheet.macroEnabled.12' => 'ms-exel'
'application/vnd.ms-excel.sheet.macroEnabled.12' => 'ms-excel'
}.freeze
scope :visible, -> { where(deleted: STATUS_ACTIVE) }