Merge pull request #34668 from raccoongang/g-glugovskiy/change_path_to_textbooks_page

feat: [FC-0044] Update path for MFE Textbook page
This commit is contained in:
Adolfo R. Brandes
2024-04-30 18:29:54 -03:00
committed by GitHub

View File

@@ -456,7 +456,7 @@ def get_textbooks_url(course_locator) -> str:
textbooks_url = None
if use_new_textbooks_page(course_locator):
mfe_base_url = get_course_authoring_url(course_locator)
course_mfe_url = f'{mfe_base_url}/course/{course_locator}/pages-and-resources/textbooks'
course_mfe_url = f'{mfe_base_url}/course/{course_locator}/textbooks'
if mfe_base_url:
textbooks_url = course_mfe_url
return textbooks_url