Project

General

Profile

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

    
4
import {SearchSoftwareComponent} from './searchSoftware.component';
5
import {FreeGuard} from'../../login/freeGuard.guard';
6
import {PreviousRouteRecorder} from '../../utils/piwik/previousRouteRecorder.guard';
7
@NgModule({
8
  imports: [
9
    RouterModule.forChild([
10
     	{ path: '', component: SearchSoftwareComponent, canActivate: [FreeGuard], canDeactivate: [PreviousRouteRecorder]  }
11

    
12
    ])
13
  ]
14
})
15
export class SearchSoftwareRoutingModule { }
(16-16/18)