balderdashy/sails — pull request #1589 by natdash (2014-04-12 06:35:42+00:00)
Title: Pub/sub: wrapper for sails.sockets.broadcast

Hi,

I've added a wrapper for sails.sockets.broadcast inside the default Model pub/sub methods. This will allow a Model to override and modify broadcasts, for example to encapsulate with a different event name.

Cheers