diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 28f49635d2ff65b1603e81ce398bd992cc03c2d9..41f01d91ee85694d922216fac8a6b2357e198c44 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -9,6 +9,7 @@ import { ParticipantHomeScreenComponent } from './participant-home-screen/partic import { AuthenticationGuard } from './authentication.guard'; import { UserRole } from './user-roles.enum'; import { ParticipantRoomComponent } from './participant-room/participant-room.component'; +import { CommentComponent } from './comment/comment.component'; const routes: Routes = [ { path: '', redirectTo: '/home', pathMatch: 'full' }, @@ -30,6 +31,7 @@ const routes: Routes = [ component: RoomComponent, canActivate: [AuthenticationGuard] }, + { path: 'room/:roomId/comments', component: CommentComponent }, { path: 'room/:roomId/create-comment', component: CreateCommentComponent, canActivate: [AuthenticationGuard],