aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/admin/admin.routes.ts
blob: d375a86af2e920a2a553fb153033da5b62b69cb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { RouterConfig } from '@angular/router';

import { AdminComponent } from './admin.component';
import { UsersRoutes } from './users';

export const AdminRoutes: RouterConfig = [
  {
    path: 'admin',
    component: AdminComponent,
    children: [
      ...UsersRoutes
    ]
  }
];