blob: 029d9778882907b92a2bb2abab033ca950a16f2e (
plain) (
tree)
|
|
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { MetaGuard } from '@ngx-meta/core'
import { AccountComponent } from './account.component'
const accountRoutes: Routes = [
{
path: 'account',
component: AccountComponent,
canActivate: [ MetaGuard ],
data: {
meta: {
title: 'My account'
}
}
}
]
@NgModule({
imports: [ RouterModule.forChild(accountRoutes) ],
exports: [ RouterModule ]
})
export class AccountRoutingModule {}
|