Skip to content

Commit

Permalink
Merge pull request #370 from rahulramakrishnan3/release-2.6.0
Browse files Browse the repository at this point in the history
guard issue
  • Loading branch information
kiranharidas187 committed Jan 29, 2024
2 parents ae0b585 + 01e5b9d commit d0e599e
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 d0e599e

Please sign in to comment.