blob: 0ac9e6b57c68c25703195cfe9fd6e69b878e7017 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { MetaGuard } from '@ngx-meta/core'
import { SearchComponent } from '@app/search/search.component'
const searchRoutes: Routes = [
{
path: 'search',
component: SearchComponent,
canActivate: [ MetaGuard ],
data: {
meta: {
title: 'Search'
}
}
}
]
@NgModule({
imports: [ RouterModule.forChild(searchRoutes) ],
exports: [ RouterModule ]
})
export class SearchRoutingModule {}
|