From 620059c7b42330fc6fb3a95208f189ffc1761c86 Mon Sep 17 00:00:00 2001 From: Matt Hanley Date: Mon, 10 Jan 2022 16:56:33 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20incorrect=20edit=20redir?= =?UTF-8?q?ect=20for=20authors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes https://github.com/TryGhost/Ghost/issues/13942 - Admin routes were updated, and the author page was moved under the settings route, but the /edit redirect was missed --- core/frontend/services/routing/config/canary.js | 2 +- core/frontend/services/routing/config/v4.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/frontend/services/routing/config/canary.js b/core/frontend/services/routing/config/canary.js index 0c4ffbb9ae..af6352c504 100644 --- a/core/frontend/services/routing/config/canary.js +++ b/core/frontend/services/routing/config/canary.js @@ -54,7 +54,7 @@ module.exports.TAXONOMIES = { }, author: { filter: 'authors:\'%s\'', - editRedirect: '#/staff/:slug/', + editRedirect: '#/settings/staff/:slug/', resource: 'authors' } }; diff --git a/core/frontend/services/routing/config/v4.js b/core/frontend/services/routing/config/v4.js index 0c4ffbb9ae..af6352c504 100644 --- a/core/frontend/services/routing/config/v4.js +++ b/core/frontend/services/routing/config/v4.js @@ -54,7 +54,7 @@ module.exports.TAXONOMIES = { }, author: { filter: 'authors:\'%s\'', - editRedirect: '#/staff/:slug/', + editRedirect: '#/settings/staff/:slug/', resource: 'authors' } };