mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
🐛 Fixed /edit route redirect for tag taxonomies
refs 183e22e0bf (diff-f3a289058604b2b069d07bb8e2cda60cL39)
- When using the `/edit` route in the end of tag taxonomy redirect was landing on 404 page in Ghost-Admin. For example redirect for `/tags/getting-started/edit/` would redirect to `/#/settings/tags/getting-started`, instead of `/#/tags/getting-started`
- Referenced commit is where the routing in Ghost-Admin was changed from `/settings/tags/:slug/` to `/tags/:slug`
This commit is contained in:
parent
5adbc4aa6a
commit
bd92fcd282
@ -42,7 +42,7 @@ module.exports.QUERY = {
|
||||
module.exports.TAXONOMIES = {
|
||||
tag: {
|
||||
filter: 'tags:\'%s\'+tags.visibility:public',
|
||||
editRedirect: '#/settings/tags/:slug/',
|
||||
editRedirect: '#/tags/:slug/',
|
||||
resource: 'tags'
|
||||
},
|
||||
author: {
|
||||
|
@ -42,7 +42,7 @@ module.exports.QUERY = {
|
||||
module.exports.TAXONOMIES = {
|
||||
tag: {
|
||||
filter: 'tags:\'%s\'+tags.visibility:public',
|
||||
editRedirect: '#/settings/tags/:slug/',
|
||||
editRedirect: '#/tags/:slug/',
|
||||
resource: 'tags'
|
||||
},
|
||||
author: {
|
||||
|
@ -42,7 +42,7 @@ module.exports.QUERY = {
|
||||
module.exports.TAXONOMIES = {
|
||||
tag: {
|
||||
filter: 'tags:\'%s\'+tags.visibility:public',
|
||||
editRedirect: '#/settings/tags/:slug/',
|
||||
editRedirect: '#/tags/:slug/',
|
||||
resource: 'tags'
|
||||
},
|
||||
author: {
|
||||
|
Loading…
Reference in New Issue
Block a user