X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2Fvideos.routes.ts;h=ab68fbe0cbdaee9fbbd378086fe9b25d9e867b1e;hb=b58c69a1edcf63b6339576b5b431dbf7dea2c625;hp=1f088b376b1bb81e85f59c31831725cc43a845bf;hpb=0629423ce335137ce77d1ee8fe30fc0eee36d83b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/videos.routes.ts b/client/src/app/videos/videos.routes.ts index 1f088b376..ab68fbe0c 100644 --- a/client/src/app/videos/videos.routes.ts +++ b/client/src/app/videos/videos.routes.ts @@ -1,22 +1,32 @@ -import { RouterConfig } from '@angular/router'; +import { Routes } from '@angular/router'; import { VideoAddComponent } from './video-add'; import { VideoListComponent } from './video-list'; import { VideosComponent } from './videos.component'; import { VideoWatchComponent } from './video-watch'; -export const VideosRoutes: RouterConfig = [ +export const VideosRoutes: Routes = [ { path: 'videos', component: VideosComponent, children: [ { path: 'list', - component: VideoListComponent + component: VideoListComponent, + data: { + meta: { + titleSuffix: ' - Videos list' + } + } }, { path: 'add', - component: VideoAddComponent + component: VideoAddComponent, + data: { + meta: { + titleSuffix: ' - Add a video' + } + } }, { path: 'watch/:id',