Try to optimize frontend
[oweals/peertube.git] / client / src / app / videos / +video-edit / video-update-routing.module.ts
1 import { NgModule } from '@angular/core'
2 import { RouterModule, Routes } from '@angular/router'
3
4 import { MetaGuard } from '@ngx-meta/core'
5
6 import { VideoUpdateComponent } from './video-update.component'
7
8 const videoUpdateRoutes: Routes = [
9   {
10     path: '',
11     component: VideoUpdateComponent,
12     canActivateChild: [ MetaGuard ]
13   }
14 ]
15
16 @NgModule({
17   imports: [ RouterModule.forChild(videoUpdateRoutes) ],
18   exports: [ RouterModule ]
19 })
20 export class VideoUpdateRoutingModule {}