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'
7 export const JobsRoutes: Routes = [
10 component: JobsComponent,
11 canActivate: [ UserRightGuard ],
13 userRight: UserRight.MANAGE_JOBS
23 component: JobsListComponent,