Create booth_type controller and update booth params
This commit is contained in:
parent
c9ae859bcf
commit
319b8b5bf7
3 changed files with 61 additions and 3 deletions
|
|
@ -96,7 +96,7 @@ class BoothsController < ApplicationController
|
|||
private
|
||||
|
||||
def booth_params
|
||||
params.require(:booth).permit(:title, :description, :reasoning, :state, :picture, :conference_id,
|
||||
params.require(:booth).permit(:title, :description, :reasoning, :state, :picture, :conference_id, :booth_type_id,
|
||||
:created_at, :updated_at, :submitter_relationship, :website_url, :invite_responsible,
|
||||
responsible_ids: [])
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue