1 import { Routes } from '@angular/router'
3 import { UserRightGuard } from '../../core'
4 import { FriendsComponent } from './friends.component'
5 import { FriendAddComponent } from './friend-add'
6 import { FriendListComponent } from './friend-list'
7 import { UserRight } from '../../../../../shared'
9 export const FriendsRoutes: Routes = [
12 component: FriendsComponent,
13 canActivate: [ UserRightGuard ],
15 userRight: UserRight.MANAGE_PEERTUBE_FOLLOW
25 component: FriendListComponent,
34 component: FriendAddComponent,