We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c501477 commit a68e1e5Copy full SHA for a68e1e5
src/routers/ngRoute.js
@@ -44,7 +44,6 @@ function($rootScope, $route, $location, $middleware) {
44
event.preventDefault();
45
46
// If the redirect route is the same, then just reload
47
- // Make sure to only do this once though - we don't want an infinite loop
48
if ( current.regexp.test(match[1]) ) {
49
return $route.reload();
50
}
0 commit comments