feat: ds edit nav

This commit is contained in:
Torkel Ödegaard
2018-01-18 17:42:40 +01:00
parent 10018d8455
commit ccde8d9e2f
7 changed files with 107 additions and 17 deletions

View File

@@ -48,6 +48,11 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
controller: 'DataSourceEditCtrl',
controllerAs: 'ctrl',
})
.when('/datasources/edit/:id/dashboards', {
templateUrl: 'public/app/features/plugins/partials/ds_dashboards.html',
controller: 'DataSourceEditCtrl',
controllerAs: 'ctrl',
})
.when('/datasources/new', {
templateUrl: 'public/app/features/plugins/partials/ds_edit.html',
controller: 'DataSourceEditCtrl',