X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2Fvideos-routing.module.ts;h=3ca3e54865d9fa446c0864df97f77e7bc1e74e64;hb=fd45e8f43c2638478599ca75632518054461da85;hp=d3869748bb42554ceedd0ab75f86a59f00473fa6;hpb=b7a485121d71c95fcf5e432e4cc745cf91af4f93;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 d3869748b..3ca3e5486 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts @@ -3,7 +3,7 @@ import { RouterModule, Routes } from '@angular/router' import { MetaGuard } from '@ngx-meta/core' -import { VideoListComponent } from './video-list' +import { VideoListComponent, MyVideosComponent } from './video-list' import { VideosComponent } from './videos.component' const videosRoutes: Routes = [ @@ -12,6 +12,15 @@ const videosRoutes: Routes = [ component: VideosComponent, canActivateChild: [ MetaGuard ], children: [ + { + path: 'mine', + component: MyVideosComponent, + data: { + meta: { + title: 'My videos' + } + } + }, { path: 'list', component: VideoListComponent,