Skip to content

Commit

Permalink
Macro enabled Excel documents not editable
Browse files Browse the repository at this point in the history
  • Loading branch information
picman committed Aug 27, 2024
1 parent d27a77b commit b0a53ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/dmsf_file_revision.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class DmsfFileRevision < ApplicationRecord
'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-excel'
'application/vnd.ms-excel.sheet.macroenabled.12' => 'ms-excel'
}.freeze

scope :visible, -> { where(deleted: STATUS_ACTIVE) }
Expand Down

0 comments on commit b0a53ab

Please sign in to comment.