From ea821e1eac64ccf825f77d18f76cf43f459868d5 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Mon, 13 May 2024 13:29:30 +0200 Subject: [PATCH] fix: departement_type_de_champ#champ_value_for_tag bad signature --- app/models/types_de_champ/departement_type_de_champ.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/types_de_champ/departement_type_de_champ.rb b/app/models/types_de_champ/departement_type_de_champ.rb index 24ab7c490..c30750de7 100644 --- a/app/models/types_de_champ/departement_type_de_champ.rb +++ b/app/models/types_de_champ/departement_type_de_champ.rb @@ -17,7 +17,7 @@ class TypesDeChamp::DepartementTypeDeChamp < TypesDeChamp::TextTypeDeChamp end end - def champ_value_for_tag(path = :value) + def champ_value_for_tag(champ, path = :value) case path when :code champ.code