From abb9cc75e166c32cfa97244c497e6a69d14ea114 Mon Sep 17 00:00:00 2001
From: CeĢsar Calvo <ccalvo@curisit.net>
Date: Wed, 15 Mar 2017 15:32:23 +0000
Subject: [PATCH] Merge branch 'angular2' of https://git.curisit.net/gitblit/git/common/securis into angular2
---
securis/src/main/webapp/src/app/app.routes.ts | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/securis/src/main/webapp/src/app/app.routes.ts b/securis/src/main/webapp/src/app/app.routes.ts
index 1fd75a7..060a1ff 100644
--- a/securis/src/main/webapp/src/app/app.routes.ts
+++ b/securis/src/main/webapp/src/app/app.routes.ts
@@ -4,13 +4,17 @@
import { MenuComponent } from './menu.component';
import { NoMenuComponent } from './nomenu.component';
import { PackListComponent } from './pack.list.component';
+import { LicenseListComponent } from './license.list.component';
import { LoginFormComponent } from './login.form.component';
const routes: Routes = [
// {path: '', redirectTo: '/packs', pathMatch: 'full'},
{path: 'menu', component: MenuComponent,
children: [
- {path: 'packs', component: PackListComponent }
+ {path: 'packs', children: [
+ {path: '', component: PackListComponent },
+ {path: ':id/licenses', component: LicenseListComponent },
+ ]}
]
},
{path: 'nomenu', component: NoMenuComponent,
@@ -18,6 +22,7 @@
{path: 'login', component: LoginFormComponent }
]
}
+
];
/* {path: 'product', component: DashboardProductComponent, children: [
{path: '', component: ProductOverviewComponent},
--
Gitblit v1.3.2