dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard/src/app/search/landingPages/project/project-routing.module.ts @ 59847
1 | 59062 | k.triantaf | import {NgModule} from '@angular/core'; |
---|---|---|---|
2 | import {RouterModule} from '@angular/router'; |
||
3 | |||
4 | import {MonitorProjectComponent} from './project.component'; |
||
5 | import {PreviousRouteRecorder} from '../../../openaireLibrary/utils/piwik/previousRouteRecorder.guard'; |
||
6 | |||
7 | @NgModule({ |
||
8 | imports: [ |
||
9 | RouterModule.forChild([ |
||
10 | { path: '', component: MonitorProjectComponent, canDeactivate: [PreviousRouteRecorder] } |
||
11 | ])
|
||
12 | ]
|
||
13 | })
|
||
14 | export class ProjectRoutingModule { } |