]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/videos-routing.module.ts
Relax on tags (accept any characters and not required anymore)
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / videos-routing.module.ts
index 766d29d2209fe386b4b9877781411a7079e85e89..005e9def6548bf39e41c50935dc67f3c81e17d3c 100644 (file)
@@ -16,7 +16,7 @@ const videosRoutes: Routes = [
         component: VideoListComponent,
         data: {
           meta: {
-            titleSuffix: ' - Videos list'
+            title: 'Videos list'
           }
         }
       },
@@ -25,10 +25,14 @@ const videosRoutes: Routes = [
         component: VideoAddComponent,
         data: {
           meta: {
-            titleSuffix: ' - Add a video'
+            title: 'Add a video'
           }
         }
       },
+      {
+        path: ':id',
+        redirectTo: 'watch/:id'
+      },
       {
         path: 'watch/:id',
         component: VideoWatchComponent