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

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

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