Commit 7a0d52bb by Diana Huang Committed by GitHub

Merge pull request #15000 from edx/diana/fix-url-name

Use correct url helper.
parents 9e71538d b10c7dfc
...@@ -26,7 +26,7 @@ def get_redirect_url(course_key, usage_key, unified_course_view=False): ...@@ -26,7 +26,7 @@ def get_redirect_url(course_key, usage_key, unified_course_view=False):
Redirect url string Redirect url string
""" """
if usage_key.block_type == 'course' and unified_course_view: if usage_key.block_type == 'course' and unified_course_view:
return reverse('edx.course_experience.course_home', args=[unicode(course_key)]) return reverse('openedx.course_experience.course_home', args=[unicode(course_key)])
( (
course_key, chapter, section, vertical_unused, course_key, chapter, section, vertical_unused,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment