]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - 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
1 import { NgModule } from '@angular/core'
2 import { RouterModule, Routes } from '@angular/router'
3 import { MetaGuard } from '@ngx-meta/core'
4 import { SearchComponent } from '@app/search/search.component'
5
6 const 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 })
23 export class SearchRoutingModule {}