Fixed loading path for home dashboard

This commit is contained in:
Torkel Ödegaard 2015-02-04 08:20:00 +01:00
parent a28e4de3bd
commit df51be02bf

View File

@ -12,7 +12,7 @@ function (angular) {
var db = datasourceSrv.getGrafanaDB();
if (!$routeParams.id) {
backendSrv.get('api/dashboards/home').then(function(result) {
backendSrv.get('/api/dashboards/home').then(function(result) {
$scope.initDashboard(result, $scope);
},function() {
$scope.initDashboard({}, $scope);