refactor: remove individual_id as authorized parameter
This commit is contained in:
parent
4b64e9f9a4
commit
b915fe13c3
2 changed files with 2 additions and 2 deletions
|
@ -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, :id])
|
||||
params.require(:dossier).permit(:for_tiers, :mandataire_first_name, :mandataire_last_name, individual_attributes: [:gender, :nom, :prenom, :birthdate, :email, :notification_method])
|
||||
end
|
||||
|
||||
def siret_params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue