mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
Use the proxy OpenFoodNetwork::FeatureToggle
that actually call Flipper.enabled?
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
class SplitCheckoutConstraint
|
||||
def matches?(request)
|
||||
Flipper.enabled? :split_checkout, current_user(request)
|
||||
OpenFoodNetwork::FeatureToggle.enabled? :split_checkout, current_user(request)
|
||||
end
|
||||
|
||||
def current_user(request)
|
||||
|
||||
Reference in New Issue
Block a user