-
ywb16155 authored
commit #25 - updating CRUD repositories to have necessary annotation for delete functions, updating components to destroy themselves when navigating away
ywb16155 authoredcommit #25 - updating CRUD repositories to have necessary annotation for delete functions, updating components to destroy themselves when navigating away
student-routes.module.ts 895 B
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
import {StudentRootComponent} from './student-root.component';
import {StudentClassViewComponent} from './StudentClassView/student-class-view.component';
import {StudentCompletedViewComponent} from './StudentCompletedView/student-completed-view.component';
import {StudentSubmissionViewComponent} from './StudentSubmissionView/student-submission-view.component';
const studentRoutes = [
{ path: 'sdashboard', component: StudentRootComponent },
{ path: 'class-view', component: StudentClassViewComponent },
{ path: 'completed-view', component: StudentCompletedViewComponent },
{ path: 'submission-view', component: StudentSubmissionViewComponent },
];
@NgModule({
imports: [
RouterModule.forChild(studentRoutes)
],
exports: [
RouterModule
]
})
export class StudentRoutesModule {
}