Added new actor dialog to admin panel, removed create mode from actor edit page.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// import { redirect } from 'vike/abort'; /* eslint-disable-line import/extensions */
|
||||
import { match } from 'path-to-regexp';
|
||||
|
||||
const path = '/actor/(edit|new)/:actorId?/:actorSlug?';
|
||||
const path = '/actor/edit/:actorId/:actorSlug?';
|
||||
const urlMatch = match(path, { decode: decodeURIComponent });
|
||||
|
||||
export default (pageContext) => {
|
||||
|
||||
Reference in New Issue
Block a user