diff --git a/app/controllers/legislation/proposals_controller.rb b/app/controllers/legislation/proposals_controller.rb index 4da2cb621..944a4f6aa 100644 --- a/app/controllers/legislation/proposals_controller.rb +++ b/app/controllers/legislation/proposals_controller.rb @@ -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]) diff --git a/app/models/legislation/proposal.rb b/app/models/legislation/proposal.rb index 16ab2d7dd..d6fdf5eb3 100644 --- a/app/models/legislation/proposal.rb +++ b/app/models/legislation/proposal.rb @@ -60,7 +60,6 @@ class Legislation::Proposal < ApplicationRecord def searchable_values { title => "A", - question => "B", author.username => "B", tag_list.join(" ") => "B", geozone.try(:name) => "B", diff --git a/app/views/legislation/proposals/show.html.erb b/app/views/legislation/proposals/show.html.erb index 7d8d18687..e8e213b06 100644 --- a/app/views/legislation/proposals/show.html.erb +++ b/app/views/legislation/proposals/show.html.erb @@ -59,16 +59,6 @@ <%= safe_html_with_links @proposal.description %> - <% if @proposal.external_url.present? %> - - <% end %> - <% if @proposal.video_url.present? %>