add corresponding view to new courseware url route :-P

This commit is contained in:
David Ormsbee
2012-06-21 10:20:51 -04:00
committed by Matthew Mongeau
parent d82b32b3e2
commit 014109ab1a

View File

@@ -211,7 +211,7 @@ def get_module_xml(user, course, chapter, section):
@ensure_csrf_cookie
@cache_control(no_cache=True, no_store=True, must_revalidate=True)
def index(request, course=None, chapter=None, section=None,
position=None):
position=None, course_id=None):
''' Displays courseware accordion, and any associated content.
If course, chapter, and section aren't all specified, just returns
the accordion. If they are specified, returns an error if they don't