diff --git a/path.js b/path.js index d56a2d8..fdb328e 100644 --- a/path.js +++ b/path.js @@ -74,6 +74,8 @@ var Path = { route.params = params; } return route; + } else { + params = {}; } } } @@ -189,4 +191,4 @@ Path.core.route.prototype = { Path.routes.defined[this.path].action(); } } -}; \ No newline at end of file +};