]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/friends/friends.routes.ts
Fix client compilation
[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',
b58c69a1
C
19 component: FriendListComponent,
20 data: {
21 meta: {
55b33946 22 title: 'Friends list'
b58c69a1
C
23 }
24 }
e105c19c
C
25 },
26 {
27 path: 'add',
b58c69a1
C
28 component: FriendAddComponent,
29 data: {
30 meta: {
55b33946 31 title: 'Add friends'
b58c69a1
C
32 }
33 }
e2f555ca
C
34 }
35 ]
36 }
37];