Commit 6e99eed4 by utkarshcmu

Moved snapshot route to core routes

parent ca55d1f3
......@@ -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',
......
define([
'./snapshot_ctrl',
'./snapshot_routes'
], function () {});
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'
});
});
});
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