diff --git a/path.js b/path.js index d56a2d8..25cc1fd 100644 --- a/path.js +++ b/path.js @@ -86,6 +86,7 @@ var Path = { Path.routes.previous = Path.routes.current; Path.routes.current = passed_route; matched_route = Path.match(passed_route, true); + Path.routes.currentparams = matched_route.params; if (Path.routes.previous) { previous_route = Path.match(Path.routes.previous); @@ -189,4 +190,4 @@ Path.core.route.prototype = { Path.routes.defined[this.path].action(); } } -}; \ No newline at end of file +};