diff options
Diffstat (limited to 'client/src/app/+admin/jobs/job.routes.ts')
-rw-r--r-- | client/src/app/+admin/jobs/job.routes.ts | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/client/src/app/+admin/jobs/job.routes.ts b/client/src/app/+admin/jobs/job.routes.ts deleted file mode 100644 index 331dc2af2..000000000 --- a/client/src/app/+admin/jobs/job.routes.ts +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | import { Routes } from '@angular/router' | ||
2 | import { UserRight } from '../../../../../shared' | ||
3 | import { UserRightGuard } from '../../core' | ||
4 | import { JobsComponent } from './job.component' | ||
5 | import { JobsListComponent } from './jobs-list/jobs-list.component' | ||
6 | |||
7 | export const JobsRoutes: Routes = [ | ||
8 | { | ||
9 | path: 'jobs', | ||
10 | component: JobsComponent, | ||
11 | canActivate: [ UserRightGuard ], | ||
12 | data: { | ||
13 | userRight: UserRight.MANAGE_JOBS | ||
14 | }, | ||
15 | children: [ | ||
16 | { | ||
17 | path: '', | ||
18 | redirectTo: 'list', | ||
19 | pathMatch: 'full' | ||
20 | }, | ||
21 | { | ||
22 | path: 'list', | ||
23 | component: JobsListComponent, | ||
24 | data: { | ||
25 | meta: { | ||
26 | title: 'Jobs list' | ||
27 | } | ||
28 | } | ||
29 | } | ||
30 | ] | ||
31 | } | ||
32 | ] | ||