|
@@ -22,6 +22,12 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
|
|
|
reloadOnSearch: false,
|
|
reloadOnSearch: false,
|
|
|
pageClass: 'page-dashboard',
|
|
pageClass: 'page-dashboard',
|
|
|
})
|
|
})
|
|
|
|
|
+ .when('/d/:uid', {
|
|
|
|
|
+ templateUrl: 'public/app/partials/dashboard.html',
|
|
|
|
|
+ controller: 'LoadDashboardCtrl',
|
|
|
|
|
+ reloadOnSearch: false,
|
|
|
|
|
+ pageClass: 'page-dashboard',
|
|
|
|
|
+ })
|
|
|
.when('/dashboard/:type/:slug', {
|
|
.when('/dashboard/:type/:slug', {
|
|
|
templateUrl: 'public/app/partials/dashboard.html',
|
|
templateUrl: 'public/app/partials/dashboard.html',
|
|
|
controller: 'LoadDashboardCtrl',
|
|
controller: 'LoadDashboardCtrl',
|
|
@@ -98,6 +104,11 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
|
|
|
controller: 'FolderDashboardsCtrl',
|
|
controller: 'FolderDashboardsCtrl',
|
|
|
controllerAs: 'ctrl',
|
|
controllerAs: 'ctrl',
|
|
|
})
|
|
})
|
|
|
|
|
+ .when('/dashboards/f/:uid', {
|
|
|
|
|
+ templateUrl: 'public/app/features/dashboard/partials/folder_dashboards.html',
|
|
|
|
|
+ controller: 'FolderDashboardsCtrl',
|
|
|
|
|
+ controllerAs: 'ctrl',
|
|
|
|
|
+ })
|
|
|
.when('/org', {
|
|
.when('/org', {
|
|
|
templateUrl: 'public/app/features/org/partials/orgDetails.html',
|
|
templateUrl: 'public/app/features/org/partials/orgDetails.html',
|
|
|
controller: 'OrgDetailsCtrl',
|
|
controller: 'OrgDetailsCtrl',
|