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
|
def options
|
||||||
@procedure = procedure
|
@procedure = procedure
|
||||||
|
if params[:state] == 'choix' && @procedure.active_revision.simple_routable_types_de_champ.none?
|
||||||
|
configurate_routage_custom
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def ajout
|
def ajout
|
||||||
|
|
Loading…
Reference in a new issue