2018-01-23 11:07:39 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
|
|
|
|
import{HomeComponent} from './home.component';
|
2018-02-16 16:51:10 +01:00
|
|
|
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
2018-01-23 11:07:39 +01:00
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
RouterModule.forChild([
|
2020-11-11 15:44:21 +01:00
|
|
|
{ path: '', component: HomeComponent, canDeactivate: [PreviousRouteRecorder] }
|
2018-01-23 11:07:39 +01:00
|
|
|
|
|
|
|
])
|
|
|
|
]
|
|
|
|
})
|
|
|
|
export class HomeRoutingModule { }
|