From 6a36e219bec82819effd07b266a25235116c61cc Mon Sep 17 00:00:00 2001 From: Vincent Theeten Date: Thu, 3 May 2012 14:35:59 +0200 Subject: [PATCH] Avoid dynamic params from previously tested routes --- path.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 +};