docs(404 errors): provide a better 404 experience

It is a bit rough and ready but does a better job than nothing.
This commit is contained in:
Peter Bacon Darwin
2014-03-07 19:57:39 +00:00
parent 53ec5e13e5
commit 853999de10
4 changed files with 19 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ angular.module('DocsController', [])
breadcrumbPath += '/';
});
} else {
$scope.currentArea = null;
$scope.currentArea = NG_NAVIGATION['api'];
$scope.breadcrumb = [];
}
});