rsanchez
2017-03-20 470182be4f955a1c11d912743ce9e683ac4902a5
securis/src/main/webapp/src/app/app.routes.ts
....@@ -3,13 +3,20 @@
33 import { HomeComponent } from './home.component';
44 import { MenuComponent } from './menu.component';
55 import { NoMenuComponent } from './nomenu.component';
6
-import { PackListComponent } from './listing/pack.list.component';
7
-import { LicenseListComponent } from './listing/license.list.component';
86 import { LicenseFormComponent } from './forms/license.form.component';
97 import { PackFormComponent } from './forms/pack.form.component';
108 import { LoginFormComponent } from './forms/login.form.component';
119 import { ApplicationFormComponent } from './forms/application.form.component';
10
+import { LicenseTypeFormComponent } from './forms/licensetype.form.component';
11
+import { OrganizationFormComponent } from './forms/organization.form.component';
12
+import { UserFormComponent } from './forms/user.form.component';
13
+
14
+import { PackListComponent } from './listing/pack.list.component';
15
+import { LicenseListComponent } from './listing/license.list.component';
1216 import { ApplicationListComponent } from './listing/application.list.component';
17
+import { LicenseTypeListComponent } from './listing/licensetype.list.component';
18
+import { OrganizationListComponent } from './listing/organization.list.component';
19
+import { UserListComponent } from './listing/user.list.component';
1320
1421 const routes: Routes = [
1522 {path: 'public', component: NoMenuComponent, children: [
....@@ -30,7 +37,20 @@
3037 ]},
3138 {path: 'applications', component: ApplicationListComponent},
3239 {path: 'applications/create', component: ApplicationFormComponent},
33
- {path: 'applications/edit/:applicationId', component: ApplicationFormComponent}
40
+ {path: 'applications/edit/:applicationId', component: ApplicationFormComponent},
41
+
42
+ {path: 'licensetypes', component: LicenseTypeListComponent},
43
+ {path: 'licensetypes/create', component: LicenseTypeFormComponent},
44
+ {path: 'licensetypes/edit/:applicationId', component: LicenseTypeFormComponent},
45
+
46
+ {path: 'organizations', component: OrganizationListComponent},
47
+ {path: 'organizations/create', component: OrganizationFormComponent},
48
+ {path: 'organizations/edit/:applicationId', component: OrganizationFormComponent},
49
+
50
+ {path: 'users', component: UserListComponent},
51
+ {path: 'users/create', component: UserFormComponent},
52
+ {path: 'users/edit/:applicationId', component: UserFormComponent}
53
+
3454 ]
3555 },
3656