Add other documents formats, such as adoc and asics

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

View file

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