diff --git a/src/app/room-creation/room-creation.component.ts b/src/app/room-creation/room-creation.component.ts index 7b4d24e278acf53cbe0f3bcd915ff594ff2906d2..dddc2900b19009c4d8cffbc99bbbc74415fd0480 100644 --- a/src/app/room-creation/room-creation.component.ts +++ b/src/app/room-creation/room-creation.component.ts @@ -37,7 +37,7 @@ export class RoomCreationComponent implements OnInit { this.roomService.addRoom({ name: longRoomName, abbreviation: shortRoomName } as Room) .subscribe(room => { this.notification.show(`Room '${room.name}' successfully created.`); - this.router.navigate([`creator/room/${room.id}`]); + this.router.navigate([`/creator/room/${room.id}`]); this.dialogRef.close(); }); }