Changeset 993189e for Farmatiko/ClientApp/src/app/app.module.ts
- Timestamp:
- 10/30/20 02:04:06 (4 years ago)
- Branches:
- master
- Children:
- 1f4846d
- Parents:
- 6f203af
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/ClientApp/src/app/app.module.ts
r6f203af r993189e 25 25 import { EditPharmacyHeadDialogComponent } from './dialogs/edit-pharmacy-head-dialog/edit-pharmacy-head-dialog.component'; 26 26 import { PharmacyHeadDialogComponent } from './nav-menu/dialogs/pharmacy-head-dialog/pharmacy-head-dialog.component'; 27 import { AuthGuard } from './shared/auth.guard'; 27 28 28 29 @NgModule({ … … 53 54 { path: 'koronavirus', component: KoronaComponent }, 54 55 { path: 'admin', component: AdminComponent }, 55 { path: 'dashboard', component: DashboardComponent }, 56 { path: 'dashboard/:token', component: DashboardComponent }, 56 { path: 'dashboard', component: DashboardComponent, canActivate: [AuthGuard] }, 57 57 { path: 'login', component: LoginComponent } 58 58 ]),
Note:
See TracChangeset
for help on using the changeset viewer.