diff options
Diffstat (limited to 'client/src/app/videos/videos-routing.module.ts')
-rw-r--r-- | client/src/app/videos/videos-routing.module.ts | 14 |
1 files changed, 14 insertions, 0 deletions
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 | |||
4 | import { MetaGuard } from '@ngx-meta/core' | 4 | import { MetaGuard } from '@ngx-meta/core' |
5 | import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component' | 5 | import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component' |
6 | import { VideoTrendingComponent } from './video-list/video-trending.component' | 6 | import { VideoTrendingComponent } from './video-list/video-trending.component' |
7 | import { VideoMostLikedComponent } from './video-list/video-most-liked.component' | ||
7 | import { VideosComponent } from './videos.component' | 8 | import { VideosComponent } from './videos.component' |
8 | import { VideoUserSubscriptionsComponent } from '@app/videos/video-list/video-user-subscriptions.component' | 9 | import { VideoUserSubscriptionsComponent } from '@app/videos/video-list/video-user-subscriptions.component' |
9 | import { VideoOverviewComponent } from '@app/videos/video-list/video-overview.component' | 10 | import { VideoOverviewComponent } from '@app/videos/video-list/video-overview.component' |
@@ -37,6 +38,19 @@ const videosRoutes: Routes = [ | |||
37 | } | 38 | } |
38 | }, | 39 | }, |
39 | { | 40 | { |
41 | path: 'most-liked', | ||
42 | component: VideoMostLikedComponent, | ||
43 | data: { | ||
44 | meta: { | ||
45 | title: 'Most liked videos' | ||
46 | }, | ||
47 | reuse: { | ||
48 | enabled: true, | ||
49 | key: 'most-liked-videos-list' | ||
50 | } | ||
51 | } | ||
52 | }, | ||
53 | { | ||
40 | path: 'recently-added', | 54 | path: 'recently-added', |
41 | component: VideoRecentlyAddedComponent, | 55 | component: VideoRecentlyAddedComponent, |
42 | data: { | 56 | data: { |