]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/+video-watch/video-watch-routing.module.ts
Issue #168: youtube-like marking of comments (#297)
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / video-watch-routing.module.ts
CommitLineData
a685e25c
C
1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router'
3
4import { MetaGuard } from '@ngx-meta/core'
5
6import { VideoWatchComponent } from './video-watch.component'
7
8const videoWatchRoutes: Routes = [
9 {
10 path: '',
11 component: VideoWatchComponent,
f47bf2e1 12 canActivate: [ MetaGuard ]
d5b53822 13 },
14 {
15 path: 'comment/:commentId',
16 component: VideoWatchComponent,
17 canActivate: [ MetaGuard ]
a685e25c
C
18 }
19]
20
21@NgModule({
22 imports: [ RouterModule.forChild(videoWatchRoutes) ],
23 exports: [ RouterModule ]
24})
25export class VideoWatchRoutingModule {}