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