mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-31 21:37:16 +00:00
The controller already does so, then, we can pass it to the service and avoid that extra round-trip to the DB and save some memory. Spree::Order is a rather bulky object (God object code smell perhaps) and it'll surely make a difference.
6.8 KiB
6.8 KiB