committed by
Abhay Chawla
parent
f56d7a7dc7
commit
b517d015cc
@@ -1,15 +1,30 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
|
||||
/** Routing Imports */
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
import { Route } from '../core/route/route.service';
|
||||
import { extract } from '../core/i18n/i18n.service';
|
||||
|
||||
/** Component Imports */
|
||||
import { SystemComponent } from './system.component';
|
||||
import { CodesComponent } from './codes/codes.component';
|
||||
|
||||
const routes: Routes = [
|
||||
Route.withShell([
|
||||
{
|
||||
path: 'system',
|
||||
component: SystemComponent,
|
||||
data: { title: extract('System'), breadcrumb: 'System' }
|
||||
data: { title: extract('System'), breadcrumb: 'System' },
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
component: SystemComponent
|
||||
},
|
||||
{
|
||||
path: 'codes',
|
||||
component: CodesComponent,
|
||||
data: { title: extract('View Codes'), breadcrumb: 'Codes' }
|
||||
}
|
||||
]
|
||||
}
|
||||
])
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user