Fix registrations controller to accept params
This commit is contained in:
parent
dbae506a91
commit
8195426c2c
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ class ConferenceRegistrationsController < ApplicationController
|
|||
end
|
||||
|
||||
def registration_params
|
||||
params.permit(:registration)
|
||||
params.require(:registration)
|
||||
.permit(
|
||||
:conference_id,
|
||||
:volunteer, :accepted_code_of_conduct,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue