feat(routing): put routing logic behind a feature flag
This commit is contained in:
parent
6dfe54479d
commit
6f6bbd6ca1
6 changed files with 10 additions and 6 deletions
|
@ -455,7 +455,9 @@ module Users
|
|||
@dossier.assign_to_groupe_instructeur(groupe_instructeur_from_params)
|
||||
end
|
||||
|
||||
RoutingEngine.compute(@dossier)
|
||||
if @dossier.procedure.feature_enabled?(:routing_rules)
|
||||
RoutingEngine.compute(@dossier)
|
||||
end
|
||||
|
||||
if dossier.en_construction?
|
||||
errors += @dossier.check_mandatory_and_visible_champs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue