blob: 59519a703816b3bbc4e8b1965bd9318a10912e33 (
plain) (
tree)
|
|
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { VideoResolver } from '@app/shared/shared-main'
import { VideoStatsComponent } from './video'
const statsRoutes: Routes = [
{
path: 'videos/:videoId',
component: VideoStatsComponent,
data: {
meta: {
title: $localize`Video stats`
}
},
resolve: {
video: VideoResolver
}
}
]
@NgModule({
imports: [ RouterModule.forChild(statsRoutes) ],
exports: [ RouterModule ]
})
export class StatsRoutingModule {}
|