Skip to content

Commit

Permalink
Fixed module urls creation in legacy instructor dashboard.
Browse files Browse the repository at this point in the history
LMS-2327
  • Loading branch information
symbolist authored and andy-armstrong committed Mar 11, 2014
1 parent 750640b commit e117957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/instructor/views/legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def get_module_url(urlname):
# 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"""
Expand Down

0 comments on commit e117957

Please sign in to comment.