dnet40/modules/uoa-services-portal/trunk/explore/src/app/login/user-routing.module.ts @ 57852
1 | 50359 | argiro.kok | import { NgModule } from '@angular/core'; |
---|---|---|---|
2 | import { RouterModule } from '@angular/router'; |
||
3 | |||
4 | import {OpenaireUserComponent } from './user.component'; |
||
5 | 50789 | argiro.kok | import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard'; |
6 | 50359 | argiro.kok | |
7 | @NgModule({ |
||
8 | imports: [ |
||
9 | RouterModule.forChild([ |
||
10 | { path: '', component: OpenaireUserComponent, canDeactivate: [PreviousRouteRecorder]}, |
||
11 | |||
12 | ])
|
||
13 | ]
|
||
14 | })
|
||
15 | export class UserRoutingModule { } |