Merge pull request #1791 from betagouv/missing_individual_part_in_old_controller

Individual: missing individual part in old controller
This commit is contained in:
LeSim 2018-04-04 13:15:35 +02:00 committed by GitHub
commit b67b13aac8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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