Skip to content

Wrong position for route middlewares #15

Closed
Unitech opened this Issue Jan 24, 2013 · 2 comments

2 participants

@Unitech
Unitech commented Jan 24, 2013

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 Unitech pushed a commit that referenced this issue Jan 24, 2013
tknew #15 issue fixed 5786ad3
@Unitech Unitech pushed a commit to Unitech/railway-routes that referenced this issue Jan 24, 2013
tknew Issue #15 fixed 5b4dfb6
@Unitech
Unitech commented Jan 24, 2013

I think it's okay now. How do we run the test ? Can't figure it

@1602
Owner
1602 commented Jan 24, 2013
@1602 1602 closed this Jul 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.