Allows Figures to run on sites with courses created in e.g., 2015
Split route path into two options: if there are no forward-slashes we assume course id is like course-v1:xxx
I didn't figure out how to get a nice named match param into my regex for that one but if you see how to, feel free.
Second one looks specifically for a course id style with two slash separations.
Allows Figures to run on sites with courses created in e.g., 2015
Split route path into two options: if there are no forward-slashes we assume course id is like course-v1:xxx I didn't figure out how to get a nice named match param into my regex for that one but if you see how to, feel free. Second one looks specifically for a course id style with two slash separations.