mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-23 05:25:47 +00:00
fix docs landing page redirection
This commit is contained in:
parent
0fb37b08e7
commit
c1debfb81d
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ function DocsController($location, $browser, $window) {
|
||||||
this.$location = $location;
|
this.$location = $location;
|
||||||
|
|
||||||
if (!HAS_HASH.test($location.href)) {
|
if (!HAS_HASH.test($location.href)) {
|
||||||
$location.hashPath = '!angular';
|
$location.hashPath = '!api/angular';
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$watch('$location.hashPath', function(hashPath) {
|
this.$watch('$location.hashPath', function(hashPath) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue