Wrong position for route middlewares
Closed this issue · 2 comments
Unitech commented
http://compoundjs.com/docs/#routing-middleware
Wrong position for the middleware.
Expected :
map.get('/test', middle, 'home#test');
But it doesn't work.
Instead this work :
map.get('/test', 'home#test', middle);
Unitech commented
I think it's okay now. How do we run the test ? Can't figure it
1602 commented
npm test
On 24.01.2013, at 23:52, Alexandre Strzelewicz notifications@github.com wrote:
I think it's okay now. How do we run the test ? Can't figure it
—
Reply to this email directly or view it on GitHub.