feat(routing): configurate routage custom if no simple_routable_types_de_champ
This commit is contained in:
parent
ea8112b8b3
commit
f31f70e9b9
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue