spree/spree — pull request #5069 by magnusvk (2014-07-28 15:26:18+00:00)
Title: Adds 'current order' API endpoint

This enables an API client to load a user's latest order. At Bonobos, we use
this to load the user's last active cart.

The find_current_order method is broken out to a separate method to enable
gems like spree-multi-store to customize its behavior.