Merge pull request #716 from mewtaylor/issue/gh-r2-3798

Towards Hotfix: Allow urls with `ajax` to pass through
This commit is contained in:
Matthew Taylor 2016-07-11 11:16:52 -04:00 committed by GitHub
commit 3504ec1910

View file

@ -26,7 +26,7 @@
{ {
"name": "explore", "name": "explore",
"pattern": "^/explore/:projects/:all/?$", "pattern": "^/explore/:projects/:all/?$",
"routeAlias": "^/explore", "routeAlias": "^/explore(?!/ajax)",
"view": "explore/explore", "view": "explore/explore",
"title": "Explore" "title": "Explore"
}, },
@ -39,13 +39,13 @@
{ {
"name": "explore-projects-redirect", "name": "explore-projects-redirect",
"pattern": "^/explore/projects/?$", "pattern": "^/explore/projects/?$",
"routeAlias": "^/explore", "routeAlias": "^/explore(?!/ajax)",
"redirect": "/explore/projects/all" "redirect": "/explore/projects/all"
}, },
{ {
"name": "explore-studios-redirect", "name": "explore-studios-redirect",
"pattern": "^/explore/studios/?$", "pattern": "^/explore/studios/?$",
"routeAlias": "^/explore", "routeAlias": "^/explore(?!/ajax)",
"redirect": "/explore/studios/all" "redirect": "/explore/studios/all"
}, },
{ {