2018-01-23 11:07:39 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
|
|
|
|
import {OpenaireUserComponent } from './user.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([
|
|
|
|
{ path: '', component: OpenaireUserComponent, canDeactivate: [PreviousRouteRecorder]},
|
|
|
|
|
|
|
|
])
|
|
|
|
]
|
|
|
|
})
|
|
|
|
export class UserRoutingModule { }
|