mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Add other documents formats, such as adoc and asics
This commit is contained in:
parent
acbca42a9f
commit
a96284cb57
5 changed files with 16 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue