]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/admin/friends/friends.routes.ts
Client: allow to copy magnet uri
[github/Chocobozzz/PeerTube.git] / client / src / app / admin / friends / friends.routes.ts
1 import { Routes } from '@angular/router';
2
3 import { FriendsComponent } from './friends.component';
4 import { FriendAddComponent } from './friend-add';
5 import { FriendListComponent } from './friend-list';
6
7 export const FriendsRoutes: Routes = [
8 {
9 path: 'friends',
10 component: FriendsComponent,
11 children: [
12 {
13 path: '',
14 redirectTo: 'list',
15 pathMatch: 'full'
16 },
17 {
18 path: 'list',
19 component: FriendListComponent
20 },
21 {
22 path: 'add',
23 component: FriendAddComponent
24 }
25 ]
26 }
27 ];