|
|
@@ -11,6 +11,7 @@ import { ForumPageComponent } from './forum-page/forum-page.component'; |
|
|
|
import { ChapterNotesComponent } from './tabs/courses/chapter-notes/chapter-notes.component'; |
|
|
|
import { QuizComponent } from './tabs/courses/quiz/quiz.component'; |
|
|
|
import { PostDetailsComponent } from './reusable-components/forum/post-details/post-details.component'; |
|
|
|
import { ChatPageComponent } from './chat-page/chat-page.component'; |
|
|
|
|
|
|
|
const routes: Routes = [ |
|
|
|
{ path: '', pathMatch: 'full', redirectTo: 'welcome' }, |
|
|
@@ -26,6 +27,7 @@ const routes: Routes = [ |
|
|
|
{ component: AttendanceComponent, path: 'attendance'}, |
|
|
|
{ component: ForumPageComponent, path: 'forum'}, |
|
|
|
{ component: PostDetailsComponent, path: 'forum-post-details'}, |
|
|
|
{ component: ChatPageComponent, path: 'chats'}, |
|
|
|
]; |
|
|
|
|
|
|
|
@NgModule({ |
|
|
|