]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - 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
CommitLineData
ab32b0fc 1import { Routes } from '@angular/router';
e2f555ca
C
2
3import { FriendsComponent } from './friends.component';
e105c19c 4import { FriendAddComponent } from './friend-add';
e2f555ca
C
5import { FriendListComponent } from './friend-list';
6
ab32b0fc 7export const FriendsRoutes: Routes = [
e2f555ca
C
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
e105c19c
C
20 },
21 {
22 path: 'add',
23 component: FriendAddComponent
e2f555ca
C
24 }
25 ]
26 }
27];