1 import { NgModule } from '@angular/core'
2 import { RouterModule, Routes } from '@angular/router'
3 import { CanDeactivateGuard, LoginGuard } from '@app/core'
4 import { MetaGuard } from '@ngx-meta/core'
5 import { VideoAddComponent } from './video-add.component'
7 const videoAddRoutes: Routes = [
10 component: VideoAddComponent,
11 canActivate: [ MetaGuard, LoginGuard ],
12 canDeactivate: [ CanDeactivateGuard ]
17 imports: [ RouterModule.forChild(videoAddRoutes) ],
18 exports: [ RouterModule ]
20 export class VideoAddRoutingModule {}