aboutsummaryrefslogtreecommitdiffstats
path: root/src/service/route.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/route.js')
-rw-r--r--src/service/route.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service/route.js b/src/service/route.js
index 9b4db0dd..5741c940 100644
--- a/src/service/route.js
+++ b/src/service/route.js
@@ -216,7 +216,7 @@ angularServiceInject('$route', function($location) {
// Match a route
forEach(routes, function(rParams, rPath) {
if (!pathParams) {
- if (pathParams = matcher($location.hashPath, rPath)) {
+ if ((pathParams = matcher($location.hashPath, rPath))) {
selectedRoute = rParams;
}
}