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