From 85b8adb1aa0e6af95e99cfb3370c8745c7589697 Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Sun, 1 Mar 2015 15:33:16 +1100 Subject: [PATCH] call to order_cycle_hub_enterprises has no arguments --- app/controllers/admin/variant_overrides_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/variant_overrides_controller.rb b/app/controllers/admin/variant_overrides_controller.rb index 234c2779c4..6724896eb9 100644 --- a/app/controllers/admin/variant_overrides_controller.rb +++ b/app/controllers/admin/variant_overrides_controller.rb @@ -8,7 +8,7 @@ module Admin before_filter :load_spree_api_key, only: :index def index - @hubs = order_cycle_hub_enterprises(without_validation: true) + @hubs = order_cycle_hub_enterprises # Used in JS to look up the name of the producer of each product @producers = OpenFoodNetwork::Permissions.new(spree_current_user).