balderdashy/sails — pull request #1922 by clarkorz (2014-07-05 08:01:29+00:00)
Title: allow to use populate feature with custom route

1. config custom route : { controller: 'User', action: 'customFind' }, then enable populate either by:
- set `populate: true` on route config: { controller: 'User', action: 'customFind', populate: true }
- use query param `populate=fk1,fk2,...,fkn` within each request
2. use actionUtil.populateEach() in custom controller action