From bd907b4dde5fe1b4cd31d5bca72361907df460e9 Mon Sep 17 00:00:00 2001 From: louiscklaw Date: Tue, 22 Apr 2025 15:12:12 +0800 Subject: [PATCH] init paths for cr, --- 002_source/cms/src/paths.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/002_source/cms/src/paths.ts b/002_source/cms/src/paths.ts index 008f01d..0a0f2c4 100644 --- a/002_source/cms/src/paths.ts +++ b/002_source/cms/src/paths.ts @@ -113,16 +113,16 @@ export const paths = { edit: (id: string) => `/dashboard/mf/questions/edit/${id}`, }, cr_categories: { - list: '/dashboard/cr_categories', - create: '/dashboard/cr_categories/create', - details: (id: string) => `/dashboard/cr_categories/${id}`, - edit: (id: string) => `/dashboard/cr_categories/edit/${id}`, + list: '/dashboard/cr/categories', + create: '/dashboard/cr/categories/create', + details: (id: string) => `/dashboard/cr/categories/${id}`, + edit: (id: string) => `/dashboard/cr/categories/edit/${id}`, }, cr_questions: { - list: '/dashboard/cr_questions', - create: '/dashboard/cr_questions/create', - details: (id: string) => `/dashboard/cr_questions/${id}`, - edit: (id: string) => `/dashboard/cr_questions/edit/${id}`, + list: '/dashboard/cr/questions', + create: '/dashboard/cr/questions/create', + details: (id: string) => `/dashboard/cr/questions/${id}`, + edit: (id: string) => `/dashboard/cr/questions/edit/${id}`, }, teachers: { list: '/dashboard/teachers',