Skip to content

Commit

Permalink
folders: should be possible to browse folder using only uid
Browse files Browse the repository at this point in the history
That is, the slug part of url should be optional.

(cherry picked from commit 91fa076)
  • Loading branch information
marefr authored and bergquist committed Mar 14, 2018
1 parent e1b554c commit 9d58257
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions public/app/routes/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
controller: 'FolderDashboardsCtrl',
controllerAs: 'ctrl',
})
.when('/dashboards/f/:uid', {
templateUrl: 'public/app/features/dashboard/partials/folder_dashboards.html',
controller: 'FolderDashboardsCtrl',
controllerAs: 'ctrl',
})
.when('/org', {
templateUrl: 'public/app/features/org/partials/orgDetails.html',
controller: 'OrgDetailsCtrl',
Expand Down

0 comments on commit 9d58257

Please sign in to comment.