diff options
Diffstat (limited to 'client/src/app/+admin/system/system.routes.ts')
-rw-r--r-- | client/src/app/+admin/system/system.routes.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/client/src/app/+admin/system/system.routes.ts b/client/src/app/+admin/system/system.routes.ts index e6d45b760..2d851794d 100644 --- a/client/src/app/+admin/system/system.routes.ts +++ b/client/src/app/+admin/system/system.routes.ts | |||
@@ -4,6 +4,7 @@ import { UserRight } from '../../../../../shared' | |||
4 | import { JobsComponent } from '@app/+admin/system/jobs/jobs.component' | 4 | import { JobsComponent } from '@app/+admin/system/jobs/jobs.component' |
5 | import { LogsComponent } from '@app/+admin/system/logs' | 5 | import { LogsComponent } from '@app/+admin/system/logs' |
6 | import { SystemComponent } from '@app/+admin/system/system.component' | 6 | import { SystemComponent } from '@app/+admin/system/system.component' |
7 | import { DebugComponent } from '@app/+admin/system/debug' | ||
7 | 8 | ||
8 | export const SystemRoutes: Routes = [ | 9 | export const SystemRoutes: Routes = [ |
9 | { | 10 | { |
@@ -38,6 +39,17 @@ export const SystemRoutes: Routes = [ | |||
38 | title: 'Logs' | 39 | title: 'Logs' |
39 | } | 40 | } |
40 | } | 41 | } |
42 | }, | ||
43 | { | ||
44 | path: 'debug', | ||
45 | canActivate: [ UserRightGuard ], | ||
46 | component: DebugComponent, | ||
47 | data: { | ||
48 | meta: { | ||
49 | userRight: UserRight.MANAGE_DEBUG, | ||
50 | title: 'Debug' | ||
51 | } | ||
52 | } | ||
41 | } | 53 | } |
42 | ] | 54 | ] |
43 | } | 55 | } |