course.routing.ts
const routes: Routes = [ | |
{ | |
path: `:${selectedSectionIdRouteParam}`, | |
canActivate: [AuthGuard], | |
resolve: [CourseResolver], | |
component: CourseComponent, | |
children: [ | |
{ | |
path: `action-items`, | |
component: ActionItemsComponent, | |
}, | |
{ | |
path: `questions`, | |
component: QuestionsComponent, | |
}, | |
{ | |
path: `:${selectedLessonIdRouteParam}`, | |
component: CourseContentComponent, | |
} | |
] | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment