Commit 6ae4bb88 authored by Eric Rosenbaum's avatar Eric Rosenbaum

Update routes for ideas page

parent 4ca65705
...@@ -141,6 +141,13 @@ ...@@ -141,6 +141,13 @@
"view": "guidelines/guidelines", "view": "guidelines/guidelines",
"title": "Scratch Community Guidelines" "title": "Scratch Community Guidelines"
}, },
{
"name": "ideas",
"pattern": "^/ideas/?(\\?.*)?$",
"routeAlias": "/ideas/?\\??",
"view": "ideas/ideas",
"title": "Ideas"
},
{ {
"name": "jobs", "name": "jobs",
"pattern": "^/jobs/?$", "pattern": "^/jobs/?$",
...@@ -266,13 +273,6 @@ ...@@ -266,13 +273,6 @@
"view": "terms/terms", "view": "terms/terms",
"title": "Scratch Terms of Use" "title": "Scratch Terms of Use"
}, },
{
"name": "tips",
"pattern": "^/tips/?(\\?.*)?$",
"routeAlias": "/tips/?\\??",
"view": "tips/tips",
"title": "Tips"
},
{ {
"name": "wedo2", "name": "wedo2",
"pattern": "^/wedo/?$", "pattern": "^/wedo/?$",
...@@ -341,25 +341,25 @@ ...@@ -341,25 +341,25 @@
"name": "help-redirect", "name": "help-redirect",
"pattern": "^/help/?(\\?.*)?$", "pattern": "^/help/?(\\?.*)?$",
"routeAlias": "/help/?(\\?.*)?$", "routeAlias": "/help/?(\\?.*)?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "hoc-redirect", "name": "hoc-redirect",
"pattern": "^/hoc/?(\\?.*)?$", "pattern": "^/hoc/?(\\?.*)?$",
"routeAlias": "/hoc/?\\??", "routeAlias": "/hoc/?\\??",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "hoc2014-redirect", "name": "hoc2014-redirect",
"pattern": "^/hoc2014/?(\\?.*)?$", "pattern": "^/hoc2014/?(\\?.*)?$",
"routeAlias": "/hoc2014/?\\??", "routeAlias": "/hoc2014/?\\??",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "info-redirect", "name": "info-redirect",
"pattern": "^/info/?(\\?.*)?$", "pattern": "^/info/?(\\?.*)?$",
"routeAlias": "/info/?(\\?.*)?$", "routeAlias": "/info/?(\\?.*)?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "research-redirect", "name": "research-redirect",
...@@ -384,11 +384,17 @@ ...@@ -384,11 +384,17 @@
"routeAlias": "/store", "routeAlias": "/store",
"redirect": "https://scratch-foundation.myshopify.com" "redirect": "https://scratch-foundation.myshopify.com"
}, },
{
"name": "tips-redirect",
"pattern": "^/tips/?(\\?.*)?$",
"routeAlias": "/tips/?\\??",
"redirect": "/ideas"
},
{ {
"name": "things-to-try-redirect", "name": "things-to-try-redirect",
"pattern": "^/go/?(\\?.*)?$", "pattern": "^/go/?(\\?.*)?$",
"routeAlias": "/go/?\\??", "routeAlias": "/go/?\\??",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "create-tutorial-redirect", "name": "create-tutorial-redirect",
...@@ -433,110 +439,103 @@ ...@@ -433,110 +439,103 @@
{ {
"name": "catch-tutorial-redirect", "name": "catch-tutorial-redirect",
"pattern": "^/catch/?$", "pattern": "^/catch/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "dance-tutorial-redirect", "name": "dance-tutorial-redirect",
"pattern": "^/dance/?$", "pattern": "^/dance/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "fly-tutorial-redirect", "name": "fly-tutorial-redirect",
"pattern": "^/fly/?$", "pattern": "^/fly/?$",
"routeAlias": "/(makeit)?fly/?$", "routeAlias": "/(makeit)?fly/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "makeitfly-tutorial-redirect", "name": "makeitfly-tutorial-redirect",
"pattern": "^/makeitfly/?$", "pattern": "^/makeitfly/?$",
"routeAlias": "/(makeit)?fly/?$", "routeAlias": "/(makeit)?fly/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "pet-tutorial-redirect", "name": "pet-tutorial-redirect",
"pattern": "^/pet/?$", "pattern": "^/pet/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "racegame-tutorial-redirect", "name": "racegame-tutorial-redirect",
"pattern": "^/racegame/?$", "pattern": "^/racegame/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "hide-tutorial-redirect", "name": "hide-tutorial-redirect",
"pattern": "^/hide/?$", "pattern": "^/hide/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "fashion-tutorial-redirect", "name": "fashion-tutorial-redirect",
"pattern": "^/fashion/?$", "pattern": "^/fashion/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "dressup-tutorial-redirect", "name": "dressup-tutorial-redirect",
"pattern": "^/dressup/?$", "pattern": "^/dressup/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "card-tutorial-redirect", "name": "card-tutorial-redirect",
"pattern": "^/card/?$", "pattern": "^/card/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "valentines-tutorial-redirect", "name": "valentines-tutorial-redirect",
"pattern": "^/valentines/?$", "pattern": "^/valentines/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "bearstack-tutorial-redirect", "name": "bearstack-tutorial-redirect",
"pattern": "^/bearstack/?$", "pattern": "^/bearstack/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "favorite-tutorial-redirect", "name": "favorite-tutorial-redirect",
"pattern": "^/favorite/?$", "pattern": "^/favorite/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "hoops-tutorial-redirect", "name": "hoops-tutorial-redirect",
"pattern": "^/hoops/?$", "pattern": "^/hoops/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "soccer-tutorial-redirect", "name": "soccer-tutorial-redirect",
"pattern": "^/soccer/?$", "pattern": "^/soccer/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "codeweek-tutorial-redirect", "name": "codeweek-tutorial-redirect",
"pattern": "^/codeweekeu/?$", "pattern": "^/codeweekeu/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "madewithcode-tutorial-redirects", "name": "madewithcode-tutorial-redirects",
"pattern": "^/madewithcode-(name|card)/?$", "pattern": "^/madewithcode-(name|card)/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "odetocode-tutorial-redirect", "name": "odetocode-tutorial-redirect",
"pattern": "^/odetocode/?$", "pattern": "^/odetocode/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "makey-tutorial-redirects", "name": "makey-tutorial-redirects",
"pattern": "^/makey(piano|drum)?/?$", "pattern": "^/makey(piano|drum)?/?$",
"redirect": "/tips" "redirect": "/ideas"
}, },
{ {
"name": "bird-redirect", "name": "bird-redirect",
"pattern": "^/bird/?$", "pattern": "^/bird/?$",
"redirect": "/tips" "redirect": "/ideas"
},
{
"name": "ideas",
"pattern": "^/ideas/?(\\?.*)?$",
"routeAlias": "/ideas/?\\??",
"view": "ideas/ideas",
"title": "Ideas"
} }
] ]
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