fix: route to course from the course card widget

This commit is contained in:
Jannat Patel
2025-05-06 19:25:53 +05:30
parent 8aadbffe8c
commit 62b05f2377
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -312,7 +312,7 @@ def get_lesson_index(lesson_name):
def get_lesson_url(course, lesson_number):
if not lesson_number:
return
return f"/courses/{course}/learn/{lesson_number}"
return f"/lms/courses/{course}/learn/{lesson_number}"
def get_batch(course, batch_name):