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'
}
},
{
- path: 'edit/:uuid',
+ path: 'update/:uuid',
loadChildren: 'app/videos/+video-edit/video-update.module#VideoUpdateModule',
data: {
meta: {
}
},
{
- path: ':uuid',
- pathMatch: 'full',
+ path: 'watch/:uuid/comments/:commentId',
redirectTo: 'watch/:uuid'
},
{