Project

General

Profile

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

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

    
7

    
8
@NgModule({
9
 imports: [
10
  RouterModule.forChild([
11
    { path: '', component: MonitorSoftwareComponent, canDeactivate: [PreviousRouteRecorder]  }
12
  ])
13
]
14
})
15
export class SoftwareRoutingModule { }
(2-2/3)