From 51548b31815c6f96f314ae96588a9adca150519d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 15 Nov 2017 10:10:41 +0100 Subject: Add follow tabs Following Follow Followers --- client/src/app/+admin/friends/friends.routes.ts | 43 ------------------------- 1 file changed, 43 deletions(-) delete mode 100644 client/src/app/+admin/friends/friends.routes.ts (limited to 'client/src/app/+admin/friends/friends.routes.ts') diff --git a/client/src/app/+admin/friends/friends.routes.ts b/client/src/app/+admin/friends/friends.routes.ts deleted file mode 100644 index e2cb953b3..000000000 --- a/client/src/app/+admin/friends/friends.routes.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Routes } from '@angular/router' - -import { UserRightGuard } from '../../core' -import { FriendsComponent } from './friends.component' -import { FriendAddComponent } from './friend-add' -import { FriendListComponent } from './friend-list' -import { UserRight } from '../../../../../shared' - -export const FriendsRoutes: Routes = [ - { - path: 'friends', - component: FriendsComponent, - canActivate: [ UserRightGuard ], - data: { - userRight: UserRight.MANAGE_PEERTUBE_FOLLOW - }, - children: [ - { - path: '', - redirectTo: 'list', - pathMatch: 'full' - }, - { - path: 'list', - component: FriendListComponent, - data: { - meta: { - title: 'Friends list' - } - } - }, - { - path: 'add', - component: FriendAddComponent, - data: { - meta: { - title: 'Add friends' - } - } - } - ] - } -] -- cgit v1.2.3