Skip to content

Commit

Permalink
Update Routeguard.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtan2000 committed Aug 27, 2024
1 parent b85023d commit 69952e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/RouteGuard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ export const RouteGuard = {
return this.accessibleBy(['admin', 'tutor']);
case '/classes':
return this.accessibleBy(['admin', 'tutor']);
case '/questions/genai':
return this.accessibleBy(['admin', 'tutor']);
default:
return false;
}
Expand Down

0 comments on commit 69952e5

Please sign in to comment.