mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Validate legal doc type
This commit is contained in:
parent
00091c5502
commit
16df29ffc2
3 changed files with 38 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
class LegalDocument < ActiveRecord::Base
|
||||
belongs_to :documentable, polymorphic: true
|
||||
|
||||
TYPES = %w(pdf bdoc ddoc zip rar gz tar 7z)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue