Files
openfoodnetwork/lib/open_food_network/feature_toggle.rb
Maikel Linke 84c434c279 Remove unused/broken multi-cart feature and views
This removes ten old overrides of the Spree view. Since the Spree view
is not used any more and got completely replaced by custom views, the
overrides were just adding noise to the code base.
2016-07-22 13:49:20 +10:00

17 lines
297 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,
enterprises_distributor_info_rich_text: true}
end
end
end