mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-07 03:22:21 +03:00
90cfdbe7a6
refs #9192, refs #5091, refs #9178 - moved channels from controllers to a service - split out the parent router from the remaining individual router logic - moved the tests to match
42 lines
985 B
JSON
42 lines
985 B
JSON
{
|
|
"index": {
|
|
"route": "/",
|
|
"frontPageTemplate": "home"
|
|
},
|
|
"tag": {
|
|
"route": "/:t_tag/:slug/",
|
|
"postOptions": {
|
|
"filter": "tags:'%s'+tags.visibility:public"
|
|
},
|
|
"data": {
|
|
"tag": {
|
|
"type": "read",
|
|
"resource": "tags",
|
|
"options": {
|
|
"slug": "%s",
|
|
"visibility": "public"
|
|
}
|
|
}
|
|
},
|
|
"slugTemplate": true,
|
|
"editRedirect": "#/settings/tags/:slug/"
|
|
},
|
|
"author": {
|
|
"route": "/:t_author/:slug/",
|
|
"postOptions": {
|
|
"filter": "author:'%s'"
|
|
},
|
|
"data": {
|
|
"author": {
|
|
"type": "read",
|
|
"resource": "users",
|
|
"options": {
|
|
"slug": "%s"
|
|
}
|
|
}
|
|
},
|
|
"slugTemplate": true,
|
|
"editRedirect": "#/team/:slug/"
|
|
}
|
|
}
|