mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-20 00:37:26 +00:00
Refactor spec
This commit is contained in:
@@ -4,7 +4,7 @@ module OrderCyclesHelper
|
||||
end
|
||||
|
||||
def coordinating_enterprises
|
||||
Enterprise.is_distributor.managed_by(spree_current_user).order('name')
|
||||
Enterprise.is_distributor.managed_by(spree_current_user).by_name
|
||||
end
|
||||
|
||||
def order_cycle_local_remote_class(distributor, order_cycle)
|
||||
|
||||
Reference in New Issue
Block a user