diff --git a/app/controllers/concerns/decidim/simple_proposal/proposals_controller_override.rb b/app/controllers/concerns/decidim/simple_proposal/proposals_controller_override.rb index 1f942dd..060f299 100644 --- a/app/controllers/concerns/decidim/simple_proposal/proposals_controller_override.rb +++ b/app/controllers/concerns/decidim/simple_proposal/proposals_controller_override.rb @@ -68,7 +68,9 @@ def create :photos, :add_photos, :documents, - :add_documents + :add_documents, + :require_category, + :require_scope ).merge( component: current_component )) diff --git a/db/migrate/20240519110747_add_require_fields_to_proposals.rb b/db/migrate/20240519110747_add_require_fields_to_proposals.rb deleted file mode 100644 index e409319..0000000 --- a/db/migrate/20240519110747_add_require_fields_to_proposals.rb +++ /dev/null @@ -1,8 +0,0 @@ -# frozen_string_literal: true - -class AddRequireFieldsToProposals < ActiveRecord::Migration[6.1] - def change - add_column :decidim_proposals_proposals, :require_category, :boolean - add_column :decidim_proposals_proposals, :require_scope, :boolean - end -end