We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411ee13 commit 3bdaa30Copy full SHA for 3bdaa30
1 file changed
src/routes.tsx
@@ -12,6 +12,7 @@ import SpecialExamsPage from '@src/specialExams/SpecialExamsPage';
12
import PageNotFound from '@src/components/PageNotFound';
13
import { useWidgetProps } from './slots/SlotUtils';
14
import { instructorDashboardRole } from './constants';
15
+import { authenticatedLoader } from '@openedx/frontend-base';
16
17
interface InstructorRouteProps {
18
tabId: string,
@@ -51,6 +52,7 @@ const routes = [
51
52
{
53
id: 'org.openedx.frontend.route.instructorDashboard.main',
54
path: 'instructor-dashboard/:courseId',
55
+ loader: authenticatedLoader,
56
handle: {
57
roles: [instructorDashboardRole]
58
},
0 commit comments