aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/about/about-routing.module.ts
blob: 11a650c80f9fb20a8e27d7ab717014418c44ca37 (plain) (tree)






















                                                      
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { MetaGuard } from '@ngx-meta/core'
import { AboutComponent } from './about.component'

const aboutRoutes: Routes = [
  {
    path: 'about',
    component: AboutComponent,
    canActivate: [ MetaGuard ],
    data: {
      meta: {
        title: 'About'
      }
    }
  }
]

@NgModule({
  imports: [ RouterModule.forChild(aboutRoutes) ],
  exports: [ RouterModule ]
})
export class AboutRoutingModule {}