X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2Fvideos-routing.module.ts;h=11a087d0af38567642cdb95d2d9c77fc0e215e48;hb=8e4aff44b060ec439b04bb2e6904ea03a637db00;hp=f0049d8c4e01e26ac4d2cde06611e75c4a0a9516;hpb=eddd920987fb8e4ae8c7ad2ada8a10a452e451d8;p=github%2FChocobozzz%2FPeerTube.git 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,