2016-08-09 15:45:21 -04:00
|
|
|
import { RouterConfig } from '@angular/router';
|
|
|
|
|
|
|
|
import { AdminComponent } from './admin.component';
|
2016-08-12 12:22:58 -04:00
|
|
|
import { FriendsRoutes } from './friends';
|
2016-08-09 15:45:21 -04:00
|
|
|
import { UsersRoutes } from './users';
|
|
|
|
|
|
|
|
export const AdminRoutes: RouterConfig = [
|
|
|
|
{
|
|
|
|
path: 'admin',
|
|
|
|
component: AdminComponent,
|
|
|
|
children: [
|
2016-08-12 12:22:58 -04:00
|
|
|
...FriendsRoutes,
|
2016-08-09 15:45:21 -04:00
|
|
|
...UsersRoutes
|
|
|
|
]
|
|
|
|
}
|
|
|
|
];
|