mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix too loose registration strong parameters
This commit is contained in:
parent
d6e36f2845
commit
76c9a5330e
1 changed files with 0 additions and 1 deletions
|
|
@ -110,7 +110,6 @@ class ConferenceRegistrationsController < ApplicationController
|
||||||
def registration_params
|
def registration_params
|
||||||
params.require(:registration)
|
params.require(:registration)
|
||||||
.permit(
|
.permit(
|
||||||
:conference_id,
|
|
||||||
:volunteer, :accepted_code_of_conduct,
|
:volunteer, :accepted_code_of_conduct,
|
||||||
vchoice_ids: [], qanswer_ids: [],
|
vchoice_ids: [], qanswer_ids: [],
|
||||||
qanswers_attributes: [],
|
qanswers_attributes: [],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue