fix(audit): update routes from admin/ to audit/ and fix module namespaces

Routes in nav items, redirects, breadcrumbs, and JS data URLs all pointed
to the old admin/ prefix from before the module was restructured. Also
corrects use-statements still referencing core Domain\Taxonomy namespace
instead of Module\Audit\Domain.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 09:14:25 +01:00
parent a93788acf1
commit 292865b0f7
22 changed files with 65 additions and 65 deletions

View File

@@ -51,7 +51,7 @@ return [
'key' => 'audit-api-audit',
'group' => 'admin-logs',
'label' => 'API audit',
'path' => 'admin/api-audit',
'path' => 'audit/api-audit',
'permission' => 'audit.api.view',
'order' => 200,
],
@@ -59,7 +59,7 @@ return [
'key' => 'audit-system-audit',
'group' => 'admin-logs',
'label' => 'System audit logs',
'path' => 'admin/system-audit',
'path' => 'audit/system-audit',
'permission' => 'audit.system.view',
'order' => 210,
],
@@ -67,7 +67,7 @@ return [
'key' => 'audit-import-audit',
'group' => 'admin-logs',
'label' => 'Import logs',
'path' => 'admin/import-audit',
'path' => 'audit/import-audit',
'permission' => 'audit.imports.view',
'order' => 220,
],
@@ -75,7 +75,7 @@ return [
'key' => 'audit-user-lifecycle-audit',
'group' => 'admin-logs',
'label' => 'User lifecycle logs',
'path' => 'admin/user-lifecycle-audit',
'path' => 'audit/user-lifecycle-audit',
'permission' => 'audit.user_lifecycle.view',
'order' => 230,
],