0xgeert / flux-test

2 stars 0 forks source link

SailsJS ability to implement: Post process filtering on a field-level for Resource Instances. #39

Open 0xgeert opened 10 years ago

0xgeert commented 10 years ago

as per: https://coderwall.com/p/miq0iw

0xgeert commented 10 years ago

try 1:

wrap express.response.send in bootstrap.js

var response = require('express').response;

response.send = _.wrap(response.send, function(fn) {
    console.log(arguments);
    fn.apply(this,_.toArray(arguments).slice(1));
});

FAILED