Commit e117957e by Usman Khalid Committed by Andy Armstrong

Fixed module urls creation in legacy instructor dashboard.

LMS-2327
parent 750640b6
...@@ -173,7 +173,7 @@ def instructor_dashboard(request, course_id): ...@@ -173,7 +173,7 @@ def instructor_dashboard(request, course_id):
# complete the url using information about the current course: # complete the url using information about the current course:
parts = Location.parse_course_id(course_id) parts = Location.parse_course_id(course_id)
parts['url'] = urlname parts['url'] = urlname
return u"i4x://{org}/{name}/{url}".format(**parts) return u"i4x://{org}/{course}/{url}".format(**parts)
def get_student_from_identifier(unique_student_identifier): def get_student_from_identifier(unique_student_identifier):
"""Gets a student object using either an email address or username""" """Gets a student object using either an email address or username"""
......
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