diff --git a/config/routes/admin.rb b/config/routes/admin.rb index 95da893872..3d22d65201 100644 --- a/config/routes/admin.rb +++ b/config/routes/admin.rb @@ -41,9 +41,7 @@ Openfoodnetwork::Application.routes.draw do resources :tag_rules, only: [:destroy] - constraints FeatureToggleConstraint.new(:vouchers) do - resources :vouchers, only: [:new, :create] - end + resources :vouchers, only: [:new, :create] end resources :enterprise_relationships