mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-06 22:36:07 +00:00
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.
17 lines
297 B
Ruby
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
|