diff --git a/public_html/js/Router.js b/public_html/js/Router.js
index a6e00687..4aa1be95 100644
--- a/public_html/js/Router.js
+++ b/public_html/js/Router.js
@@ -156,7 +156,8 @@ App.Router = function(_, jQuery, promise, util, appState, presenterManager) {
value = parseComplexParamValue(value);
}
params[key] = value;
- compare = compare.replace(compareParts[j], possibleRouteParts[j]);
+ compareParts[j] = possibleRouteParts[j];
+ compare = compareParts.join('/');
}
}
}