0

In Sails.js the Rest blueprint is handled by the hooks on sails/lib/hooks/controller . How can one change the hook behaviou or make a new bluePrint behaviour without medling with the core?

I want to make a JSON RPC 2.0 Hook and replace rest with it.

FabioCosta
  • 3,069
  • 6
  • 28
  • 50
  • 1
    possible duplicate of [CRUD blueprint overriding in Sailsjs](http://stackoverflow.com/questions/22273789/crud-blueprint-overriding-in-sailsjs) – sgress454 Mar 14 '14 at 15:10
  • Thought it was a duplicate after seeing. But is not exactly what i need . As soon as i get the desired behaviour will post it here. The answer pointed me in the right direction – FabioCosta Mar 14 '14 at 17:35

0 Answers0