From c7ed538ba8d7d12d2cf9d7d655cf5f1bff0a0d68 Mon Sep 17 00:00:00 2001 From: Rishabh Singh Date: Fri, 16 Aug 2019 16:54:40 +0530 Subject: [PATCH] Update params in booth controller --- app/controllers/admin/booths_controller.rb | 2 +- app/controllers/booths_controller.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/admin/booths_controller.rb b/app/controllers/admin/booths_controller.rb index 0a8027ca..ad5df333 100644 --- a/app/controllers/admin/booths_controller.rb +++ b/app/controllers/admin/booths_controller.rb @@ -132,7 +132,7 @@ module Admin def booth_params params.require(:booth).permit(:title, :description, :reasoning, :state, :picture, :conference_id, :created_at, :updated_at, :submitter_relationship, :website_url, :invite_responsible, - responsible_ids: []) + :email, :accepted_code_of_conduct, :special_requirements, responsible_ids: []) end end end diff --git a/app/controllers/booths_controller.rb b/app/controllers/booths_controller.rb index 9cd6f475..439d89f3 100644 --- a/app/controllers/booths_controller.rb +++ b/app/controllers/booths_controller.rb @@ -98,6 +98,6 @@ class BoothsController < ApplicationController def booth_params params.require(:booth).permit(:title, :description, :reasoning, :state, :picture, :conference_id, :created_at, :updated_at, :submitter_relationship, :website_url, :invite_responsible, - responsible_ids: []) + :email, :accepted_code_of_conduct, :special_requirements, responsible_ids: []) end end