X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2Fvideos-routing.module.ts;h=18ed5257064e00781860929746fdb2916d7e8056;hb=d9eaee3939bf2e93e5d775d32bce77842201faba;hp=538a43c6dc3c486548dd5dd4947d8fa8efaa58ae;hpb=57c36b277e68b764dd34cb2e449f6e2ca3d1e9b6;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 538a43c6d..18ed52570 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts @@ -5,6 +5,7 @@ import { MetaGuard } from '@ngx-meta/core' import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component' import { VideoTrendingComponent } from './video-list/video-trending.component' import { VideosComponent } from './videos.component' +import { VideoUserSubscriptionsComponent } from '@app/videos/video-list/video-user-subscriptions.component' const videosRoutes: Routes = [ { @@ -12,11 +13,6 @@ const videosRoutes: Routes = [ component: VideosComponent, canActivateChild: [ MetaGuard ], children: [ - { - path: 'list', - pathMatch: 'full', - redirectTo: 'recently-added' - }, { path: 'trending', component: VideoTrendingComponent, @@ -35,6 +31,15 @@ const videosRoutes: Routes = [ } } }, + { + path: 'subscriptions', + component: VideoUserSubscriptionsComponent, + data: { + meta: { + title: 'Subscriptions' + } + } + }, { path: 'local', component: VideoLocalComponent,