]> 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 572f33d5e04577817bb01b15ec5d215836811d66..538a43c6dc3c486548dd5dd4947d8fa8efaa58ae 100644 (file)
@@ -2,7 +2,6 @@ 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'
@@ -45,15 +44,6 @@ const videosRoutes: Routes = [
           }
         }
       },
-      {
-        path: 'search',
-        component: VideoSearchComponent,
-        data: {
-          meta: {
-            title: 'Search videos'
-          }
-        }
-      },
       {
         path: 'upload',
         loadChildren: 'app/videos/+video-edit/video-add.module#VideoAddModule',
@@ -73,8 +63,7 @@ const videosRoutes: Routes = [
         }
       },
       {
-        path: ':uuid',
-        pathMatch: 'full',
+        path: 'watch/:uuid/comments/:commentId',
         redirectTo: 'watch/:uuid'
       },
       {