]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/friends/friends.routes.ts
Remove ng2 file upload module
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / friends / friends.routes.ts
CommitLineData
df98563e 1import { Routes } from '@angular/router'
e2f555ca 2
df98563e
C
3import { FriendsComponent } from './friends.component'
4import { FriendAddComponent } from './friend-add'
5import { FriendListComponent } from './friend-list'
e2f555ca 6
ab32b0fc 7export const FriendsRoutes: Routes = [
e2f555ca 8 {
df98563e
C
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 data: {
21 meta: {
22 title: 'Friends list'
b58c69a1 23 }
df98563e
C
24 }
25 },
26 {
27 path: 'add',
28 component: FriendAddComponent,
29 data: {
30 meta: {
31 title: 'Add friends'
b58c69a1 32 }
e2f555ca 33 }
df98563e
C
34 }
35 ]
36 }
37]