Wrong position for the middleware.
map.get('/test', middle, 'home#test');
But it doesn't work.
Instead this work :
map.get('/test', 'home#test', middle);
#15 issue fixed
Issue #15 fixed
I think it's okay now. How do we run the test ? Can't figure it