Fix home routing
This commit is contained in:
parent
2cc0b82d77
commit
8e5c2fdc33
|
@ -1,13 +1,11 @@
|
||||||
import { NgModule } from '@angular/core'
|
import { NgModule } from '@angular/core'
|
||||||
import { RouterModule, Routes } from '@angular/router'
|
import { RouterModule, Routes } from '@angular/router'
|
||||||
import { MetaGuard } from '@ngx-meta/core'
|
|
||||||
import { HomeComponent } from './home.component'
|
import { HomeComponent } from './home.component'
|
||||||
|
|
||||||
const homeRoutes: Routes = [
|
const homeRoutes: Routes = [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
component: HomeComponent,
|
component: HomeComponent
|
||||||
canActivateChild: [ MetaGuard ]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue