apollosc/src/app/views/studymaterial/studymaterial-routing.module.ts
2018-08-01 16:01:44 +05:30

43 lines
1.1 KiB
TypeScript

import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { ReceivedmaterialComponent } from './receivedmaterial/receivedmaterial.component';
import { AllocatematerialComponent } from './allocatematerial/allocatematerial.component';
import { StudyMaterialComponent } from './study-material/study-material.component';
const routes: Routes = [
{
path: '',
data: {
title: 'Study Material'
},
children: [
{
path: 'receivedmaterial',
component: ReceivedmaterialComponent,
data: {
title: 'ReceivedMaterial'
}
},
{
path: 'allocatematerial',
component: AllocatematerialComponent,
data: {
title: 'AllocateMaterial'
}
},
{
path: 'studyMaterialStatus',
component: StudyMaterialComponent,
data: {
title: 'Study Material Status'
}
}
]
}];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class StudymaterialRoutingModule { }