rsanchez
2017-03-14 ce9bc0c6ad58e4117d26a204ffc56bbcdb7fe916
securis/src/main/webapp/src/app/app.routes.ts
....@@ -2,11 +2,15 @@
22
33 import { HomeComponent } from './home.component';
44 import { PackListComponent } from './pack.list.component';
5
+import { LicenseListComponent } from './license.list.component';
56 import { LoginFormComponent } from './login.form.component';
67
78 const routes: Routes = [
89 // {path: '', redirectTo: '/packs', pathMatch: 'full'},
9
- {path: 'packs', component: PackListComponent },
10
+ {path: 'packs', children: [
11
+ {path: '', component: PackListComponent },
12
+ {path: ':id/licenses', component: LicenseListComponent },
13
+ ]},
1014 {path: 'login', component: LoginFormComponent }
1115 ];
1216 /* {path: 'product', component: DashboardProductComponent, children: [