]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+stats/stats-routing.module.ts
Include upper boundary on stats graph zoom
[github/Chocobozzz/PeerTube.git] / client / src / app / +stats / stats-routing.module.ts
CommitLineData
384ba8b7
C
1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router'
3import { VideoResolver } from '@app/shared/shared-main'
4import { VideoStatsComponent } from './video'
5
6const statsRoutes: Routes = [
7 {
8 path: 'videos/:videoId',
9 component: VideoStatsComponent,
10 data: {
11 meta: {
12 title: $localize`Video stats`
13 }
14 },
15 resolve: {
16 video: VideoResolver
17 }
18 }
19]
20
21@NgModule({
22 imports: [ RouterModule.forChild(statsRoutes) ],
23 exports: [ RouterModule ]
24})
25export class StatsRoutingModule {}