From c07eb946531dd190ae50624832e1147c8ccf3692 Mon Sep 17 00:00:00 2001 From: Julien Maulny Date: Tue, 1 Oct 2019 23:11:53 +0200 Subject: Add 'Most liked videos' page --- client/src/app/videos/videos-routing.module.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'client/src/app/videos/videos-routing.module.ts') diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts index f0049d8c4..11a087d0a 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts @@ -4,6 +4,7 @@ import { VideoLocalComponent } from '@app/videos/video-list/video-local.componen import { MetaGuard } from '@ngx-meta/core' import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component' import { VideoTrendingComponent } from './video-list/video-trending.component' +import { VideoMostLikedComponent } from './video-list/video-most-liked.component' import { VideosComponent } from './videos.component' import { VideoUserSubscriptionsComponent } from '@app/videos/video-list/video-user-subscriptions.component' import { VideoOverviewComponent } from '@app/videos/video-list/video-overview.component' @@ -36,6 +37,19 @@ const videosRoutes: Routes = [ } } }, + { + path: 'most-liked', + component: VideoMostLikedComponent, + data: { + meta: { + title: 'Most liked videos' + }, + reuse: { + enabled: true, + key: 'most-liked-videos-list' + } + } + }, { path: 'recently-added', component: VideoRecentlyAddedComponent, -- cgit v1.2.3