mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
18 lines
323 B
Ruby
18 lines
323 B
Ruby
module OpenFoodNetwork
|
|
class FeatureToggle
|
|
def self.enabled? feature
|
|
features[feature]
|
|
end
|
|
|
|
private
|
|
|
|
def self.features
|
|
{eaterprises: true,
|
|
local_organics: false,
|
|
order_cycles: true,
|
|
multi_cart: false,
|
|
enterprises_distributor_info_rich_text: true}
|
|
end
|
|
end
|
|
end
|