]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/admin/workstation/workstations/routing.module.ts
LP#1775466 Angular(6) base application
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / admin / workstation / workstations / routing.module.ts
1 import {NgModule} from '@angular/core';
2 import {RouterModule, Routes} from '@angular/router';
3 import {WorkstationsComponent} from './workstations.component';
4
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 = [
9   {
10     path: 'manage',
11     component: WorkstationsComponent
12   }, {
13     path: 'remove/:remove',
14     component: WorkstationsComponent
15   }
16 ];
17
18 @NgModule({
19   imports: [RouterModule.forChild(routes)],
20   exports: [RouterModule]
21 })
22
23 export class WorkstationsRoutingModule {
24 }
25