Améliorations après retours PR

This commit is contained in:
Kara Diaby 2023-12-11 16:06:12 +00:00
parent 878f58e00c
commit 57dfe2b0f6
17 changed files with 72 additions and 50 deletions

View file

@ -590,7 +590,7 @@ module Users
end
def dossier_params
params.require(:dossier).permit(:for_tiers, :mandataire_first_name, :mandataire_last_name, individual_attributes: [:gender, :nom, :prenom, :birthdate, :email, :notification_method])
params.require(:dossier).permit(:for_tiers, :mandataire_first_name, :mandataire_last_name, individual_attributes: [:gender, :nom, :prenom, :birthdate, :email, :notification_method, :id])
end
def siret_params