mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Added new legal doc types #2607
This commit is contained in:
parent
a38bb4aa07
commit
f5feba0509
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ class LegalDocument < ActiveRecord::Base
|
||||||
include Versions # version/legal_document_version.rb
|
include Versions # version/legal_document_version.rb
|
||||||
belongs_to :documentable, polymorphic: true
|
belongs_to :documentable, polymorphic: true
|
||||||
|
|
||||||
TYPES = %w(pdf bdoc ddoc zip rar gz tar 7z)
|
TYPES = %w(pdf bdoc ddoc zip rar gz tar 7z odt doc docx)
|
||||||
|
|
||||||
attr_accessor :body
|
attr_accessor :body
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue