Remove deprecated reference to documentable method

We have done a little refactoring of documents. Now document settings are part of the admin interface[1].

[1] https://github.com/consul/consul/pull/3585/
This commit is contained in:
voodoorai2000
2019-06-06 11:04:46 +02:00
parent 46e5d6a9fa
commit 744824e26f

View File

@@ -14,9 +14,6 @@ class Legislation::PeopleProposal < ActiveRecord::Base
include Imageable
include Randomizable
documentable max_documents_allowed: 3,
max_file_size: 3.megabytes,
accepted_content_types: [ "application/pdf" ]
accepts_nested_attributes_for :documents, allow_destroy: true
acts_as_votable