fix: departement_type_de_champ#champ_value_for_tag bad signature

This commit is contained in:
Colin Darie 2024-05-13 13:29:30 +02:00
parent 88d628f40f
commit ea821e1eac

View file

@ -17,7 +17,7 @@ class TypesDeChamp::DepartementTypeDeChamp < TypesDeChamp::TextTypeDeChamp
end end
end end
def champ_value_for_tag(path = :value) def champ_value_for_tag(champ, path = :value)
case path case path
when :code when :code
champ.code champ.code