diff options
| author | Peter Bacon Darwin | 2014-03-07 19:57:39 +0000 | 
|---|---|---|
| committer | Igor Minar | 2014-03-11 10:39:47 -0700 | 
| commit | ebe280eedea416c84c2300c9b952bb42d73cdb53 (patch) | |
| tree | 172256dea1e52e7383228059af45a430fd072bd5 /docs/app/src/docs.js | |
| parent | 95d6cdc7c71454cebcab59858f0c3daa69fc9347 (diff) | |
| download | angular.js-ebe280eedea416c84c2300c9b952bb42d73cdb53.tar.bz2 | |
docs(404 errors): provide a better 404 experience
It is a bit rough and ready but does a better job than nothing.
Diffstat (limited to 'docs/app/src/docs.js')
| -rw-r--r-- | docs/app/src/docs.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/app/src/docs.js b/docs/app/src/docs.js index 5163e982..74d78136 100644 --- a/docs/app/src/docs.js +++ b/docs/app/src/docs.js @@ -87,7 +87,7 @@ angular.module('DocsController', [])          breadcrumbPath += '/';        });      } else { -      $scope.currentArea = null; +      $scope.currentArea = NG_NAVIGATION['api'];        $scope.breadcrumb = [];      }    }); | 
