blob: 1e3646395eaf44fb6c89c9b5aec5d98f8d8e4a7c (
plain) (
tree)
|
|
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
}
]
}
];
|