aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/videos-routing.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+videos/videos-routing.module.ts')
-rw-r--r--client/src/app/+videos/videos-routing.module.ts18
1 files changed, 16 insertions, 2 deletions
diff --git a/client/src/app/+videos/videos-routing.module.ts b/client/src/app/+videos/videos-routing.module.ts
index f658182e0..b6850b436 100644
--- a/client/src/app/+videos/videos-routing.module.ts
+++ b/client/src/app/+videos/videos-routing.module.ts
@@ -3,10 +3,11 @@ import { RouterModule, Routes } from '@angular/router'
3import { LoginGuard } from '@app/core' 3import { LoginGuard } from '@app/core'
4import { MetaGuard } from '@ngx-meta/core' 4import { MetaGuard } from '@ngx-meta/core'
5import { VideoOverviewComponent } from './video-list/overview/video-overview.component' 5import { VideoOverviewComponent } from './video-list/overview/video-overview.component'
6import { VideoHotComponent } from './video-list/trending/video-hot.component'
7import { VideoMostLikedComponent } from './video-list/trending/video-most-liked.component'
8import { VideoTrendingComponent } from './video-list/trending/video-trending.component'
6import { VideoLocalComponent } from './video-list/video-local.component' 9import { VideoLocalComponent } from './video-list/video-local.component'
7import { VideoMostLikedComponent } from './video-list/video-most-liked.component'
8import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component' 10import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component'
9import { VideoTrendingComponent } from './video-list/video-trending.component'
10import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component' 11import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component'
11import { VideosComponent } from './videos.component' 12import { VideosComponent } from './videos.component'
12 13
@@ -39,6 +40,19 @@ const videosRoutes: Routes = [
39 } 40 }
40 }, 41 },
41 { 42 {
43 path: 'hot',
44 component: VideoHotComponent,
45 data: {
46 meta: {
47 title: $localize`Hot videos`
48 },
49 reuse: {
50 enabled: true,
51 key: 'hot-videos-list'
52 }
53 }
54 },
55 {
42 path: 'most-liked', 56 path: 'most-liked',
43 component: VideoMostLikedComponent, 57 component: VideoMostLikedComponent,
44 data: { 58 data: {