fixed the router context for matching routes with different http methods

fixed a bug where a route didnt match because of the wrong router context (http methods)