File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ const routes: Routes = [
3636 } ,
3737 {
3838 path : 'help' ,
39- loadChildren : ( ) => import ( './help/help-routing.module ' ) . then ( ( m ) => m . HelpRoutingModule )
39+ loadChildren : ( ) => import ( './help/help.routes ' ) . then ( ( m ) => m . routes )
4040 } ,
4141 {
4242 path : 'join' ,
Original file line number Diff line number Diff line change 1- import { NgModule } from '@angular/core' ;
2- import { RouterModule , Routes } from '@angular/router' ;
1+ import { Routes } from '@angular/router' ;
32import { HelpComponent } from './help.component' ;
43import { HelpHomeComponent } from './help-home/help-home.component' ;
54import { GettingStartedComponent } from './faq/getting-started/getting-started.component' ;
65import { TeacherFaqComponent } from './faq/teacher-faq/teacher-faq.component' ;
76import { StudentFaqComponent } from './faq/student-faq/student-faq.component' ;
87
9- const helpRoutes : Routes = [
8+ export const routes : Routes = [
109 {
1110 path : '' ,
1211 component : HelpComponent ,
@@ -18,9 +17,3 @@ const helpRoutes: Routes = [
1817 ]
1918 }
2019] ;
21-
22- @NgModule ( {
23- imports : [ RouterModule . forChild ( helpRoutes ) ] ,
24- exports : [ RouterModule ]
25- } )
26- export class HelpRoutingModule { }
You can’t perform that action at this time.
0 commit comments