mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-21 05:09:15 +00:00
Merge pull request #12780 from dacook/optimise-12714
Optimise subscriptions admin
This commit is contained in:
@@ -42,7 +42,7 @@ module OpenFoodNetwork
|
||||
end
|
||||
|
||||
def distributor
|
||||
Enterprise.find params[:distributor_id]
|
||||
@distributor ||= Enterprise.find params[:distributor_id]
|
||||
end
|
||||
|
||||
def scope_to_schedule
|
||||
|
||||
Reference in New Issue
Block a user