feat(routing): configurate routage custom if no simple_routable_types_de_champ

This commit is contained in:
Eric Leroy-Terquem 2024-07-11 11:50:11 +02:00
parent ea8112b8b3
commit f31f70e9b9
No known key found for this signature in database
GPG key ID: 53D8FAECEF207605

View file

@ -25,6 +25,9 @@ module Administrateurs
def options
@procedure = procedure
if params[:state] == 'choix' && @procedure.active_revision.simple_routable_types_de_champ.none?
configurate_routage_custom
end
end
def ajout