diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 5dce23f83ad8bb2d1a18cc0350812cc6f5440030..ae91199e709f47ad39f81b802db65a3eb5f0e79f 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -4,6 +4,7 @@ import { PageNotFoundComponent } from './page-not-found/page-not-found.component import { LoginScreenComponent } from './login-screen/login-screen.component'; import { RoomComponent } from './room/room.component'; import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-screen.component'; +import { CreateCommentComponent } from './create-comment/create-comment.component'; import { ParticipantHomeScreenComponent } from './participant-home-screen/participant-home-screen.component'; import { AuthenticationGuard } from './authentication.guard'; import { UserRole } from './user-roles.enum'; @@ -28,6 +29,10 @@ const routes: Routes = [ component: RoomComponent, canActivate: [AuthenticationGuard] }, + { path: 'room/:roomId/create-comment', + component: CreateCommentComponent, + canActivate: [AuthenticationGuard] + }, { path: '**', component: PageNotFoundComponent } ];