Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.