1 import { NgModule } from '@angular/core'
2 import { RouterModule, Routes } from '@angular/router'
4 import { MetaGuard } from '@ngx-meta/core'
6 import { LoginGuard } from '../../core'
7 import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service'
8 import { VideoAddComponent } from './video-add.component'
10 const videoAddRoutes: Routes = [
13 component: VideoAddComponent,
14 canActivate: [ MetaGuard, LoginGuard ],
15 canDeactivate: [ CanDeactivateGuard ]
20 imports: [ RouterModule.forChild(videoAddRoutes) ],
21 exports: [ RouterModule ]
23 export class VideoAddRoutingModule {}