]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/videos-routing.module.ts
Translate subtitle langs in player
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / videos-routing.module.ts
index 29ec5fd4fd1a049608ae3439f2272a68b297409d..538a43c6dc3c486548dd5dd4947d8fa8efaa58ae 100644 (file)
@@ -1,7 +1,7 @@
 import { NgModule } from '@angular/core'
 import { RouterModule, Routes } from '@angular/router'
+import { VideoLocalComponent } from '@app/videos/video-list/video-local.component'
 import { MetaGuard } from '@ngx-meta/core'
-import { VideoSearchComponent } from './video-list'
 import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component'
 import { VideoTrendingComponent } from './video-list/video-trending.component'
 import { VideosComponent } from './videos.component'
@@ -36,11 +36,11 @@ const videosRoutes: Routes = [
         }
       },
       {
-        path: 'search',
-        component: VideoSearchComponent,
+        path: 'local',
+        component: VideoLocalComponent,
         data: {
           meta: {
-            title: 'Search videos'
+            title: 'Local videos'
           }
         }
       },
@@ -54,7 +54,7 @@ const videosRoutes: Routes = [
         }
       },
       {
-        path: 'edit/:uuid',
+        path: 'update/:uuid',
         loadChildren: 'app/videos/+video-edit/video-update.module#VideoUpdateModule',
         data: {
           meta: {
@@ -63,8 +63,7 @@ const videosRoutes: Routes = [
         }
       },
       {
-        path: ':uuid',
-        pathMatch: 'full',
+        path: 'watch/:uuid/comments/:commentId',
         redirectTo: 'watch/:uuid'
       },
       {