From: Zack Cerza Date: Tue, 23 Oct 2018 18:57:30 +0000 (-0600) Subject: mgr/dashboard: Redirect /block to /block/rbd X-Git-Tag: v14.1.0~1107^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24722%2Fhead;p=ceph.git mgr/dashboard: Redirect /block to /block/rbd Fixes: https://tracker.ceph.com/issues/36401 Signed-off-by: Zack Cerza --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts b/src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts index 1807c98ab9bb..8d12cc518a38 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts @@ -116,6 +116,11 @@ const routes: Routes = [ canActivate: [AuthGuardService], data: { breadcrumbs: true, text: 'Block', path: null }, children: [ + { + path: '', + redirectTo: 'rbd', + pathMatch: 'full' + }, { path: 'rbd', data: { breadcrumbs: 'Images' },