Sails.js sending updates using sockets.

I was looking a way to sends updates without publishCreate/publishUpdate from the controller.
it took me a while to find a solution and i have found this solution:
if you want real eaxmple that works i used it as follow:"message",{,model:"order",verb:"update",
                            status: o.status
I think it can be useful for you too.
Thank you for your interest!

We will contact you as soon as possible.

Send us a message

Oops, something went wrong
Please try again or contact us by email at