mysociety/popit-api — pull request #60 by hecticjeff (2014-06-26 16:16:28+00:00)
Title: Add popit subdomain storage selector

This allows popit to use the popit-api `storageSelector` middleware, which exposes the models in popit-api to the main application. Eventually this will mean that we can just have one set of models in the API which both applications can use (see https://github.com/mysociety/popit/issues/264). This means that popit UI can save changes to models and they will still use the popit-api model layer (which ensures they get indexed into elasticsearch etc).