diff options
Diffstat (limited to 'client/src/app/+home/home-routing.module.ts')
-rw-r--r-- | client/src/app/+home/home-routing.module.ts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/client/src/app/+home/home-routing.module.ts b/client/src/app/+home/home-routing.module.ts new file mode 100644 index 000000000..1eaee4449 --- /dev/null +++ b/client/src/app/+home/home-routing.module.ts | |||
@@ -0,0 +1,18 @@ | |||
1 | import { NgModule } from '@angular/core' | ||
2 | import { RouterModule, Routes } from '@angular/router' | ||
3 | import { MetaGuard } from '@ngx-meta/core' | ||
4 | import { HomeComponent } from './home.component' | ||
5 | |||
6 | const homeRoutes: Routes = [ | ||
7 | { | ||
8 | path: '', | ||
9 | component: HomeComponent, | ||
10 | canActivateChild: [ MetaGuard ] | ||
11 | } | ||
12 | ] | ||
13 | |||
14 | @NgModule({ | ||
15 | imports: [ RouterModule.forChild(homeRoutes) ], | ||
16 | exports: [ RouterModule ] | ||
17 | }) | ||
18 | export class HomeRoutingModule {} | ||