Commit 91fa076f by Marcus Efraimsson

folders: should be possible to browse folder using only uid

That is, the slug part of url should be optional.
parent 5fbfd67b
...@@ -104,6 +104,11 @@ export function setupAngularRoutes($routeProvider, $locationProvider) { ...@@ -104,6 +104,11 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
controller: 'FolderDashboardsCtrl', controller: 'FolderDashboardsCtrl',
controllerAs: 'ctrl', controllerAs: 'ctrl',
}) })
.when('/dashboards/f/:uid', {
templateUrl: 'public/app/features/dashboard/partials/folder_dashboards.html',
controller: 'FolderDashboardsCtrl',
controllerAs: 'ctrl',
})
.when('/org', { .when('/org', {
templateUrl: 'public/app/features/org/partials/orgDetails.html', templateUrl: 'public/app/features/org/partials/orgDetails.html',
controller: 'OrgDetailsCtrl', controller: 'OrgDetailsCtrl',
......
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