dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app/reload/reload-routing.module.ts @ 61381
1 | 61381 | k.triantaf | import { NgModule } from '@angular/core'; |
---|---|---|---|
2 | import { RouterModule } from '@angular/router'; |
||
3 | |||
4 | import{ReloadComponent} from './reload.component'; |
||
5 | import {PreviousRouteRecorder} from '../utils/piwik/previousRouteRecorder.guard'; |
||
6 | |||
7 | @NgModule({ |
||
8 | imports: [ |
||
9 | RouterModule.forChild([ |
||
10 | { path: '', component: ReloadComponent, canDeactivate: [PreviousRouteRecorder] } |
||
11 | |||
12 | ])
|
||
13 | ]
|
||
14 | })
|
||
15 | export class ReloadRoutingModule { } |