César Calvo
2017-03-15 abb9cc75e166c32cfa97244c497e6a69d14ea114
securis/src/main/webapp/src/app/app.routes.ts
....@@ -4,13 +4,17 @@
44 import { MenuComponent } from './menu.component';
55 import { NoMenuComponent } from './nomenu.component';
66 import { PackListComponent } from './pack.list.component';
7
+import { LicenseListComponent } from './license.list.component';
78 import { LoginFormComponent } from './login.form.component';
89
910 const routes: Routes = [
1011 // {path: '', redirectTo: '/packs', pathMatch: 'full'},
1112 {path: 'menu', component: MenuComponent,
1213 children: [
13
- {path: 'packs', component: PackListComponent }
14
+ {path: 'packs', children: [
15
+ {path: '', component: PackListComponent },
16
+ {path: ':id/licenses', component: LicenseListComponent },
17
+ ]}
1418 ]
1519 },
1620 {path: 'nomenu', component: NoMenuComponent,
....@@ -18,6 +22,7 @@
1822 {path: 'login', component: LoginFormComponent }
1923 ]
2024 }
25
+
2126 ];
2227 /* {path: 'product', component: DashboardProductComponent, children: [
2328 {path: '', component: ProductOverviewComponent},