started navigation for tabs

This commit is contained in:
lotte
2019-02-13 12:18:21 +01:00
parent 69be696a19
commit 86115c44ce
3 changed files with 10 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ export function getItemEditPath(id: string) {
return new URLCombiner(getItemModulePath(),ITEM_EDIT_PATH.replace(/:id/, id)).toString()
}
const ITEM_EDIT_PATH = ':id/edit';
const ITEM_EDIT_PATH = ':id/edit/:page';
@NgModule({
imports: [
@@ -38,7 +38,7 @@ const ITEM_EDIT_PATH = ':id/edit';
{
path: ITEM_EDIT_PATH,
loadChildren: './edit-item-page/edit-item-page.module#EditItemPageModule',
// canActivate: [AuthenticatedGuard]
canActivate: [AuthenticatedGuard]
}
])
],