2019-05-23 15:38:44 +02:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
|
|
|
|
import{HomeComponent} from './home.component';
|
|
|
|
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
RouterModule.forChild([
|
2020-11-18 18:01:52 +01:00
|
|
|
{ path: '', component: HomeComponent,canDeactivate: [PreviousRouteRecorder] }
|
2019-05-23 15:38:44 +02:00
|
|
|
|
|
|
|
])
|
|
|
|
]
|
|
|
|
})
|
|
|
|
export class HomeRoutingModule { }
|