Skip to content

Commit

Permalink
feat(routing): add a feature flag on multi line routing
Browse files Browse the repository at this point in the history
  • Loading branch information
E-L-T committed Nov 6, 2023
1 parent ca4cc38 commit b561680
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
%td.operator= operator_tag(operator_name, targeted_champ, row_index)
%td.value= right_operand_tag(targeted_champ, value, row_index)
%td.delete-column= delete_condition_tag(row_index)

.flex.justify-end.mt-2= add_condition_tag
- if @groupe_instructeur.procedure.feature_enabled?(:multi_line_routing)
.flex.justify-end.mt-2= add_condition_tag
3 changes: 2 additions & 1 deletion config/initializers/flipper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def setup_features(features)
:groupe_instructeur_api_hack,
:rerouting,
:cojo_type_de_champ,
:sva
:sva,
:multi_line_routing
]

def database_exists?
Expand Down

0 comments on commit b561680

Please sign in to comment.