Commit b10c7dfc by Diana Huang

Use correct url helper.

parent ee98a525
......@@ -26,7 +26,7 @@ def get_redirect_url(course_key, usage_key, unified_course_view=False):
Redirect url string
"""
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,
......
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