Fix registrations controller to accept params

This commit is contained in:
Michael Ball 2020-07-17 20:31:42 -07:00
parent dbae506a91
commit 8195426c2c

View file

@ -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,