Fixed module urls creation in legacy instructor dashboard.

LMS-2327
This commit is contained in:
Usman Khalid
2014-03-10 19:22:57 +05:00
committed by Andy Armstrong
parent 750640b6f0
commit e117957e2a

View File

@@ -173,7 +173,7 @@ def instructor_dashboard(request, course_id):
# complete the url using information about the current course:
parts = Location.parse_course_id(course_id)
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):
"""Gets a student object using either an email address or username"""