]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/search/search-routing.module.ts
Add hook to alter player build options
[github/Chocobozzz/PeerTube.git] / client / src / app / search / search-routing.module.ts
CommitLineData
57c36b27
C
1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router'
3import { MetaGuard } from '@ngx-meta/core'
4import { SearchComponent } from '@app/search/search.component'
5
6const searchRoutes: Routes = [
7 {
8 path: 'search',
9 component: SearchComponent,
10 canActivate: [ MetaGuard ],
11 data: {
12 meta: {
13 title: 'Search'
14 }
15 }
16 }
17]
18
19@NgModule({
20 imports: [ RouterModule.forChild(searchRoutes) ],
21 exports: [ RouterModule ]
22})
23export class SearchRoutingModule {}