Add support for .sce legal document

This commit is contained in:
Maciej Szlosarczyk 2018-05-07 10:00:08 +03:00
parent 09bb860050
commit acbca42a9f
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
5 changed files with 12 additions and 11 deletions

View file

@ -6,7 +6,7 @@ class LegalDocument < ActiveRecord::Base
if ENV['legal_document_types'].present?
TYPES = ENV['legal_document_types'].split(',').map(&:strip)
else
TYPES = %w(pdf asice bdoc ddoc zip rar gz tar 7z odt doc docx).freeze
TYPES = %w(pdf asice sce bdoc ddoc zip rar gz tar 7z odt doc docx).freeze
end
attr_accessor :body