Individual: missing individual part in old controller

This commit is contained in:
simon lehericey 2018-04-03 18:26:55 +02:00
parent e347e23a01
commit 1f536c94ab

View file

@ -198,7 +198,7 @@ class Users::DossiersController < UsersController
end
def update_params
params.require(:dossier).permit(:id, :autorisation_donnees, individual_attributes: [:gender, :nom, :prenom, :birthdate])
params.require(:dossier).permit(:id, :autorisation_donnees)
end
def individual_errors