]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/cat/authority/routing.module.ts
LP1879335 Manage Authorities Angular Port
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / cat / authority / routing.module.ts
1 import {NgModule} from '@angular/core';
2 import {RouterModule, Routes} from '@angular/router';
3 import {AuthorityMarcEditComponent} from './marc-edit.component';
4 import {BrowseAuthorityComponent} from './browse.component';
5 import {ManageAuthorityComponent} from './manage.component';
6
7 const routes: Routes = [{
8     path: 'edit',
9     component: AuthorityMarcEditComponent
10   }, {
11     path: 'edit/:id',
12     component: AuthorityMarcEditComponent
13   }, {
14     path: 'browse',
15     component: BrowseAuthorityComponent
16   }, {
17     path: 'manage/:id/:tab',
18     component: ManageAuthorityComponent
19   }, {
20     path: 'manage/:id/:tab',
21     component: ManageAuthorityComponent
22 }];
23
24 @NgModule({
25   imports: [RouterModule.forChild(routes)],
26   exports: [RouterModule],
27   providers: []
28 })
29
30 export class AuthorityRoutingModule {}
31