mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Collection must be after load_data so that hubs are already available for VOs calculation
This commit is contained in:
@@ -5,7 +5,7 @@ module Admin
|
||||
include OpenFoodNetwork::SpreeApiKeyLoader
|
||||
include EnterprisesHelper
|
||||
|
||||
before_filter :load_data
|
||||
prepend_before_filter :load_data
|
||||
before_filter :load_collection, only: [:bulk_update]
|
||||
before_filter :load_spree_api_key, only: :index
|
||||
|
||||
|
||||
Reference in New Issue
Block a user