Skip to content

Commit

Permalink
guard issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul K R committed Jan 29, 2024
1 parent ae0b585 commit 01e5b9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/modules/admin/admin-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ const routes: Routes = [
{
path: CommonRoutes.MANAGERS_SESSION,
loadChildren: () => import('../../pages/create-session/create-session.module').then( m => m.CreateSessionPageModule),
// canActivate: [PermissionGuard],
canActivate: [PermissionGuard],
data: {
forms: { page: MANAGERS_CREATE_SESSION_FORM}
forms: { page: MANAGERS_CREATE_SESSION_FORM},
permissions: { module: permissions.MANAGE_SESSION, action: manageSessionAction.SESSION_ACTIONS },
}
}
];
Expand Down

0 comments on commit 01e5b9d

Please sign in to comment.