dnet40/modules/uoa-services-portal/branches/angular-11/explore/src/app/home/home-routing.module.ts @ 61326
1 |
import { NgModule } from '@angular/core'; |
---|---|
2 |
import { RouterModule } from '@angular/router'; |
3 |
|
4 |
import{HomeComponent} from './home.component'; |
5 |
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard'; |
6 |
@NgModule({ |
7 |
imports: [ |
8 |
RouterModule.forChild([ |
9 |
{ path: '', component: HomeComponent, canDeactivate: [PreviousRouteRecorder] } |
10 |
|
11 |
])
|
12 |
]
|
13 |
})
|
14 |
export class HomeRoutingModule { } |