Commit 7d0122d4 authored by Robert Knight's avatar Robert Knight

Add a comment to explain where the "auth" and "search" inputs come from

parent dc6e88f1
...@@ -75,6 +75,10 @@ function configureRoutes($routeProvider) { ...@@ -75,6 +75,10 @@ function configureRoutes($routeProvider) {
resolve: resolve, resolve: resolve,
}); });
$routeProvider.otherwise({ $routeProvider.otherwise({
// Trivial template for use until the other controllers are also converted
// to components and we can remove the router entirely.
//
// The "search" and "auth" properties are provided by "AppController".
template: '<sidebar-content search="search" auth="auth"></sidebar-content>', template: '<sidebar-content search="search" auth="auth"></sidebar-content>',
reloadOnSearch: false, reloadOnSearch: false,
resolve: resolve, resolve: resolve,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment