From 7345438a7fafd6f8a4d72660fa92faee4f199841 Mon Sep 17 00:00:00 2001 From: Hagen <hagen.dressler@mni.thm.de> Date: Thu, 8 Mar 2018 11:35:55 +0100 Subject: [PATCH] Add routing path --- src/app/app-routing.module.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 28f49635d..41f01d91e 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], -- GitLab