1 import {NgModule} from '@angular/core';
2 import {RouterModule, Routes} from '@angular/router';
3 import {WorkstationsComponent} from './workstations.component';
5 // Note that we need a path value (e.g. 'manage') because without it
6 // there is nothing for the router to match, unless we rely on the parent
7 // module to handle all of our routing for us.
8 const routes: Routes = [
11 component: WorkstationsComponent
13 path: 'remove/:remove',
14 component: WorkstationsComponent
19 imports: [RouterModule.forChild(routes)],
20 exports: [RouterModule]
23 export class WorkstationsRoutingModule {