Moved snapshot route to core routes
This commit is contained in:
@@ -132,6 +132,10 @@ define([
|
||||
templateUrl: 'app/partials/reset_password.html',
|
||||
controller : 'ResetPasswordCtrl',
|
||||
})
|
||||
.when('/dashboard/snapshots', {
|
||||
templateUrl: 'app/features/snapshot/partials/snapshots.html',
|
||||
controller : 'SnapshotsCtrl'
|
||||
})
|
||||
.when('/apps', {
|
||||
templateUrl: 'app/features/apps/partials/list.html',
|
||||
controller: 'AppListCtrl',
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
define([
|
||||
'./snapshot_ctrl',
|
||||
'./snapshot_routes'
|
||||
], function () {});
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
define([
|
||||
'angular',
|
||||
'app/core/config',
|
||||
'lodash'
|
||||
],
|
||||
function (angular) {
|
||||
'use strict';
|
||||
|
||||
var module = angular.module('grafana.routes');
|
||||
|
||||
module.config(function($routeProvider) {
|
||||
$routeProvider
|
||||
.when('/dashboard/snapshots', {
|
||||
templateUrl: 'app/features/snapshot/partials/snapshots.html',
|
||||
controller : 'SnapshotsCtrl'
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user