mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
fix(details): fix detail on routes
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { IsAuthorizedGuard } from '@angular-challenges/module-to-standalone/admin/shared';
|
||||
import { Route } from '@angular/router';
|
||||
|
||||
export const appRoutes: Route[] = [
|
||||
@@ -11,6 +12,7 @@ export const appRoutes: Route[] = [
|
||||
},
|
||||
{
|
||||
path: 'admin',
|
||||
canActivate: [IsAuthorizedGuard],
|
||||
loadChildren: () =>
|
||||
import('@angular-challenges/module-to-standalone/admin/feature').then(
|
||||
(m) => m.AdminFeatureModule
|
||||
|
||||
Reference in New Issue
Block a user