call to order_cycle_hub_enterprises has no arguments

This commit is contained in:
Rob Harrington
2015-03-01 15:33:16 +11:00
parent e8818c5191
commit 85b8adb1aa

View File

@@ -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).