Unverified Commit 0a4bacd1 authored by Ray Schamp's avatar Ray Schamp Committed by GitHub

Merge pull request #6062 from rschamp/allow-querystrings

Make /educators routes robust to querystrings
parents 92ce0946 6a289fe6
......@@ -137,8 +137,8 @@
},
{
"name": "educator-landing",
"pattern": "^/educators/?$",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
"pattern": "^/educators/?(\\?.*)?$",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?(\\?.*)?$",
"view": "teachers/landing/landing",
"title": "Educators"
},
......@@ -304,22 +304,22 @@
},
{
"name": "teacher-faq",
"pattern": "^/educators/faq/?$",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
"pattern": "^/educators/faq/?(\\?.*)?$",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?(\\?.*)?$",
"view": "teachers/faq/faq",
"title": "Teacher Accounts FAQ"
},
{
"name": "teacherregistration",
"pattern": "^/educators/register/?$",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
"pattern": "^/educators/register/?(\\?.*)?$",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?(\\?.*)?$",
"view": "teacherregistration/teacherregistration",
"title": "Teacher Registration"
},
{
"name": "teacherwaitingroom",
"pattern": "^/educators/waiting",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?(\\?.*)?$",
"view": "teacherwaitingroom/teacherwaitingroom",
"title": "Thank you for requesting a Scratch Teacher Account"
},
......
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