]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+videos/+video-edit/video-add-routing.module.ts
Move to sass module
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-edit / video-add-routing.module.ts
1 import { NgModule } from '@angular/core'
2 import { RouterModule, Routes } from '@angular/router'
3 import { CanDeactivateGuard, LoginGuard } from '@app/core'
4 import { VideoAddComponent } from './video-add.component'
5
6 const videoAddRoutes: Routes = [
7 {
8 path: '',
9 component: VideoAddComponent,
10 canActivate: [ LoginGuard ],
11 canDeactivate: [ CanDeactivateGuard ]
12 }
13 ]
14
15 @NgModule({
16 imports: [ RouterModule.forChild(videoAddRoutes) ],
17 exports: [ RouterModule ]
18 })
19 export class VideoAddRoutingModule {}