Commit eba654c4 authored by Ray Schamp's avatar Ray Schamp

Collapse /classes routes to shorten condition

parent 44c2b55f
...@@ -20,12 +20,14 @@ ...@@ -20,12 +20,14 @@
{ {
"name": "student-complete-registration", "name": "student-complete-registration",
"pattern": "^/classes/complete_registration", "pattern": "^/classes/complete_registration",
"routeAlias": "^/classes/(complete_registration|.+/register/.+)",
"view": "studentcompleteregistration/studentcompleteregistration", "view": "studentcompleteregistration/studentcompleteregistration",
"title": "Complete your Registration" "title": "Complete your Registration"
}, },
{ {
"name": "student-registration", "name": "student-registration",
"pattern": "^/classes/:id/register/:token", "pattern": "^/classes/:id/register/:token",
"routeAlias": "^/classes/(complete_registration|.+/register/.+)",
"view": "studentregistration/studentregistration", "view": "studentregistration/studentregistration",
"title": "Class Registration" "title": "Class Registration"
}, },
......
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