From f2da1fa59e907be9638fdad422e62624e4452df9 Mon Sep 17 00:00:00 2001 From: Yana De Pauw Date: Mon, 11 Jan 2021 11:45:01 +0100 Subject: [PATCH] 75894: Angular - Routing --- src/app/app-routing.module.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index e14672f1f5..5e5c5f5413 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -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')