Replace harcoded images and documents settings
This commit is contained in:
@@ -14,9 +14,6 @@ class Legislation::Proposal < ApplicationRecord
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user