mysociety/popit-api — pull request #94 by hecticjeff (2014-11-13 16:22:55+00:00)
Title: Use embed parameter on collections and search endpoints

Switch to using the `embedDocuments` method, which in turn calls `populateMemberships` but respects the `?embed` parameter.

Fixes https://github.com/mysociety/popit-api/issues/91
Fixes https://github.com/mysociety/popit/issues/682