feat(routing): add departements to routable_type_de_champ

This commit is contained in:
Eric Leroy-Terquem 2023-08-22 09:00:44 +02:00
parent cd5d89336c
commit ac823c1b25
2 changed files with 13 additions and 1 deletions

View file

@ -224,7 +224,7 @@ class ProcedureRevision < ApplicationRecord
end
def routable_types_de_champ
types_de_champ_public.filter { |tdc| [:drop_down_list].include?(tdc.type_champ.to_sym) }
types_de_champ_public.filter { |tdc| [:drop_down_list, :departements].include?(tdc.type_champ.to_sym) }
end
private