aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/route.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/route.js')
-rw-r--r--src/ng/route.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/route.js b/src/ng/route.js
index 433149d7..4b5a7c92 100644
--- a/src/ng/route.js
+++ b/src/ng/route.js
@@ -397,7 +397,7 @@ function $RouteProvider(){
var next = parseRoute(),
last = $route.current;
- if (next && last && next.$route === last.$route
+ if (next && last && next.$$route === last.$$route
&& equals(next.pathParams, last.pathParams) && !next.reloadOnSearch && !forceReload) {
last.params = next.params;
copy(last.params, $routeParams);
@@ -477,7 +477,7 @@ function $RouteProvider(){
match = inherit(route, {
params: extend({}, $location.search(), params),
pathParams: params});
- match.$route = route;
+ match.$$route = route;
}
});
// No route matched; fallback to "otherwise" route