Commit 6a289fe6 authored by rschamp's avatar rschamp

Make /educators routes robust to querystrings

parent 4a6ac3d9
......@@ -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