Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Wrong position for route middlewares #15

Closed
Unitech opened this Issue · 2 comments

2 participants

@Unitech

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 referenced this issue from a commit
tknew #15 issue fixed 5786ad3
@Unitech Unitech referenced this issue from a commit in Unitech/railway-routes
tknew Issue #15 fixed 5b4dfb6
@Unitech

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

@1602
Owner
@1602 1602 closed this
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.