Project

General

Profile

1
import {NgModule} from '@angular/core';
2
import {RouterModule} from '@angular/router';
3

    
4
import {MonitorOrpComponent} from './orp.component';
5
import {PreviousRouteRecorder} from '../../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
6

    
7
@NgModule({
8
  imports: [
9
    RouterModule.forChild([{
10
      path: '', component: MonitorOrpComponent, canDeactivate: [PreviousRouteRecorder]
11
    }])
12
  ]
13
})
14

    
15
export class OrpRoutingModule { }
(2-2/3)