Skip to content

Commit 1190178

Browse files
committed
Deduplicate common paths
1 parent f021747 commit 1190178

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/services/constants.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,6 +1202,7 @@ export const FEATURED_NEWS_TAG = "featured";
12021202
export const NEWS_PODS_PER_PAGE = 12; // <= api.MAX_PODS_TO_RETURN (if lower, the backend will still return the maximum number of pods, but they won't be displayed in the frontend)
12031203

12041204
export const PATHS = {
1205+
// Site-specific paths
12051206
...siteSpecific({
12061207
ASSIGNMENT_PROGRESS: "/assignment_progress",
12071208
MY_GAMEBOARDS: "/my_question_decks",
@@ -1212,8 +1213,6 @@ export const PATHS = {
12121213
SET_ASSIGNMENTS: "/set_assignments",
12131214
GAMEBOARD_BUILDER: "/question_deck_builder",
12141215
ADD_GAMEBOARD: "/add_question_deck",
1215-
PREVIEW_TEST: "/test/preview",
1216-
TEST: "/test/assignment",
12171216
},
12181217
{
12191218
ASSIGNMENT_PROGRESS: "/my_markbook",
@@ -1225,10 +1224,11 @@ export const PATHS = {
12251224
SET_ASSIGNMENTS: "/quizzes/set",
12261225
GAMEBOARD_BUILDER: "/quizzes/builder",
12271226
ADD_GAMEBOARD: "/quizzes/add",
1228-
PREVIEW_TEST: "/test/preview",
1229-
TEST: "/test/assignment",
12301227
}),
1228+
// Common paths
12311229
MANAGE_GROUPS: "/groups",
1230+
TEST: "/test/assignment",
1231+
PREVIEW_TEST: "/test/preview",
12321232
};
12331233

12341234
export const CLOZE_ITEM_SECTION_ID = "non-selected-items";

0 commit comments

Comments
 (0)