Skip to content

Commit

Permalink
updated route with chatroom
Browse files Browse the repository at this point in the history
  • Loading branch information
ArinNigam committed Feb 15, 2024
1 parent e97c26d commit 18f717d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/lib/routes/routes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import '../screens/admin/view_courses.dart';
import '../screens/admin/view_faculty.dart';
import '../screens/admin/view_menu.dart';
import '../screens/auth/admin_login.dart';
import '../screens/user/chat_room.dart';
import '../screens/user/room_vacancy.dart';
import '../screens/user/student_profile.dart';
import '../screens/user/user_home.dart';
Expand Down Expand Up @@ -112,6 +113,10 @@ final GoRouter routes = GoRouter(
path: 'broadcast',
pageBuilder: (context, state) => MaterialPage(child: BroadcastPage()),
),
GoRoute(
path: 'chat_room',
pageBuilder: (context, state) => MaterialPage(child: ChatRoom()),
),
],
),
],
Expand Down

0 comments on commit 18f717d

Please sign in to comment.