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

import { FriendsComponent } from './friends.component';
import { FriendListComponent } from './friend-list';

export const FriendsRoutes: RouterConfig = [
  {
      path: 'friends',
      component: FriendsComponent,
      children: [
        {
          path: '',
          redirectTo: 'list',
          pathMatch: 'full'
        },
        {
          path: 'list',
          component: FriendListComponent
        }
      ]
    }
];