Skip to content

Commit cb679fc

Browse files
committed
Add branching_enabled to routing_options
The feature flag for advanced branching features can now be set per group or environment wide. This commit changes the view to use the instance variable rather than the FeatureService directly.
1 parent f8996dc commit cb679fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/pages/conditions/_routing_options.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<%= t("routing_page.body_routing_text") %>
1212
</p>
1313

14-
<% if FeatureService.enabled?(:branch_routing) %>
14+
<% if @branching_enabled %>
1515
<p>
1616
<%= t("routing_page.body_branching_text") %>
1717
</p>

0 commit comments

Comments
 (0)