mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Collapse /classes routes to shorten condition
This commit is contained in:
parent
44c2b55f14
commit
eba654c411
1 changed files with 2 additions and 0 deletions
|
@ -20,12 +20,14 @@
|
|||
{
|
||||
"name": "student-complete-registration",
|
||||
"pattern": "^/classes/complete_registration",
|
||||
"routeAlias": "^/classes/(complete_registration|.+/register/.+)",
|
||||
"view": "studentcompleteregistration/studentcompleteregistration",
|
||||
"title": "Complete your Registration"
|
||||
},
|
||||
{
|
||||
"name": "student-registration",
|
||||
"pattern": "^/classes/:id/register/:token",
|
||||
"routeAlias": "^/classes/(complete_registration|.+/register/.+)",
|
||||
"view": "studentregistration/studentregistration",
|
||||
"title": "Class Registration"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue