crcn/beanpole — Issue #65: add before/after wrap arounds
Author: crcn
Created: 2011-12-29 22:24:43+00:00
State: open

this is another way of implementing middleware. E.g:

router.on({

'pull -before validate -> login': function() {
}

'pull login': function() {

}

'pull -after login': function() {
}

});

```