diff --git a/lib/router.js b/lib/router.js index a7f0871..40f8474 100644 --- a/lib/router.js +++ b/lib/router.js @@ -363,7 +363,7 @@ Router.prototype.routes = Router.prototype.middleware = function () { memo.push(function(ctx, next) { ctx.captures = layer.captures(path, ctx.captures); ctx.params = ctx.request.params = layer.params(path, ctx.captures, ctx.params); - ctx.routerPath = layer.path; + // ctx.routerPath = layer.path; ctx.routerName = layer.name; ctx._matchedRoute = layer.path; if (layer.name) {