Fixed critical bug in frontend routing

I have no idea how this could ever work.
This commit is contained in:
Marcin Kurczewski 2014-11-10 20:20:05 +01:00
parent 4489277df8
commit 2a833d53ea

View file

@ -156,7 +156,8 @@ App.Router = function(_, jQuery, promise, util, appState, presenterManager) {
value = parseComplexParamValue(value); value = parseComplexParamValue(value);
} }
params[key] = value; params[key] = value;
compare = compare.replace(compareParts[j], possibleRouteParts[j]); compareParts[j] = possibleRouteParts[j];
compare = compareParts.join('/');
} }
} }
} }