From 744824e26fdec15911e97b19d11268ffb3dd7f09 Mon Sep 17 00:00:00 2001 From: voodoorai2000 Date: Thu, 6 Jun 2019 11:04:46 +0200 Subject: [PATCH] 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/ --- app/models/legislation/people_proposal.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/models/legislation/people_proposal.rb b/app/models/legislation/people_proposal.rb index 290ab72f3..ffb5a41b4 100644 --- a/app/models/legislation/people_proposal.rb +++ b/app/models/legislation/people_proposal.rb @@ -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