Remove question and external_url fields from legislation proposals

This commit is contained in:
decabeza
2019-03-14 14:06:58 +01:00
parent 0995480b73
commit 5bdac5c4f5
6 changed files with 7 additions and 16 deletions

View File

@@ -53,7 +53,7 @@ class Legislation::ProposalsController < Legislation::BaseController
def proposal_params
params.require(:legislation_proposal).permit(:legislation_process_id, :title,
:question, :summary, :description, :video_url, :tag_list,
:summary, :description, :video_url, :tag_list,
:terms_of_service, :geozone_id,
image_attributes: image_attributes,
documents_attributes: [:id, :title, :attachment, :cached_attachment, :user_id])