Add explore redirects

for `/explore`, `/explore/projects` and `/explore/studios` to `/explore/<projects|studios>/all`
This commit is contained in:
Matthew Taylor 2016-06-15 08:19:27 -04:00
parent 55765551ae
commit 311f431ca1

View file

@ -30,6 +30,24 @@
"view": "explore/explore",
"title": "Explore"
},
{
"name": "explore-redirect",
"pattern": "^/explore/?$",
"routeAlias": "^/explore",
"redirect": "/explore/projects/all"
},
{
"name": "explore-projects-redirect",
"pattern": "^/explore/projects/?$",
"routeAlias": "^/explore",
"redirect": "/explore/projects/all"
},
{
"name": "explore-studios-redirect",
"pattern": "^/explore/studios/?$",
"routeAlias": "^/explore",
"redirect": "/explore/studios/all"
},
{
"name": "search",
"pattern": "^/search/:projects?$/?$",