75894: Angular - Routing

This commit is contained in:
Yana De Pauw
2021-01-11 11:45:01 +01:00
committed by Kristof De Langhe
parent 17e8881380
commit f2da1fa59e

View File

@@ -86,6 +86,11 @@ import { ForbiddenComponent } from './forbidden/forbidden.component';
.then((m) => m.ItemPageModule),
canActivate: [EndUserAgreementCurrentUserGuard]
},
{ path: 'entities/:entity-type',
loadChildren: () => import('./+item-page/item-page.module')
.then((m) => m.ItemPageModule),
canActivate: [EndUserAgreementCurrentUserGuard]
},
{
path: BITSTREAM_MODULE_PATH,
loadChildren: () => import('./+bitstream-page/bitstream-page.module')