diff options
Diffstat (limited to 'client/src/app/admin/admin.routes.ts')
-rw-r--r-- | client/src/app/admin/admin.routes.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/client/src/app/admin/admin.routes.ts b/client/src/app/admin/admin.routes.ts new file mode 100644 index 000000000..d375a86af --- /dev/null +++ b/client/src/app/admin/admin.routes.ts | |||
@@ -0,0 +1,14 @@ | |||
1 | import { RouterConfig } from '@angular/router'; | ||
2 | |||
3 | import { AdminComponent } from './admin.component'; | ||
4 | import { UsersRoutes } from './users'; | ||
5 | |||
6 | export const AdminRoutes: RouterConfig = [ | ||
7 | { | ||
8 | path: 'admin', | ||
9 | component: AdminComponent, | ||
10 | children: [ | ||
11 | ...UsersRoutes | ||
12 | ] | ||
13 | } | ||
14 | ]; | ||