Moved snapshot route to core routes

This commit is contained in:
utkarshcmu
2016-01-19 17:00:54 -08:00
parent ca55d1f315
commit 6e99eed417
3 changed files with 4 additions and 19 deletions
+4
View File
@@ -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
View File
@@ -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'
});
});
});