mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
Adjusted
This commit is contained in:
@@ -42,6 +42,7 @@ import UnitsList from '../pages/courses/units/UnitsList'
|
||||
import AddUnit from '../pages/courses/units/AddUnit'
|
||||
import ViewUnit from '../pages/courses/units/ViewUnit'
|
||||
import EditUnit from '../pages/courses/units/EditUnit'
|
||||
import ArchivedUnitsList from '../pages/courses/units/ArchivedUnitsList'
|
||||
|
||||
// Lessons
|
||||
import LessonsList from '../pages/courses/lessons/LessonsList'
|
||||
@@ -136,6 +137,7 @@ export const AdminRoutes = {
|
||||
element: <Outlet />,
|
||||
children: [
|
||||
{ index: true, element: <UnitsList /> },
|
||||
{ path: 'archived', element: <ArchivedUnitsList /> },
|
||||
{ path: 'add', element: <AddUnit /> },
|
||||
{ path: ':unitId/view', element: <ViewUnit /> },
|
||||
{ path: ':unitId/edit', element: <EditUnit /> },
|
||||
|
||||
Reference in New Issue
Block a user