X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2Fvideos-routing.module.ts;h=66153e0337a354a2c4db7f1a3fa7d52c3066975b;hb=9e9afa455b11d1c7a722d7b9d23bf232bf397356;hp=561137b7013ed3391a2c47a0294953d9019ab713;hpb=066e94c5382a761180c7d82fa24b31b66dbeaca4;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 561137b70..66153e033 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts @@ -1,5 +1,5 @@ import { NgModule } from '@angular/core' -import { RouterModule, Routes } from '@angular/router' +import { RouterModule, Routes, UrlSegment } from '@angular/router' import { VideoLocalComponent } from '@app/videos/video-list/video-local.component' import { MetaGuard } from '@ngx-meta/core' import { VideoSearchComponent } from './video-list' @@ -64,7 +64,7 @@ const videosRoutes: Routes = [ } }, { - path: 'edit/:uuid', + path: 'update/:uuid', loadChildren: 'app/videos/+video-edit/video-update.module#VideoUpdateModule', data: { meta: { @@ -72,11 +72,6 @@ const videosRoutes: Routes = [ } } }, - { - path: ':uuid', - pathMatch: 'full', - redirectTo: 'watch/:uuid' - }, { path: 'watch/:uuid', loadChildren: 'app/videos/+video-watch/video-watch.module#VideoWatchModule',