Files
openfoodnetwork/lib/open_food_network/feature_toggle.rb
2013-11-29 10:49:33 +11:00

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