diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 45f84e7..62c5b41 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -1,11 +1,11 @@ [ { "id": 1006601001, - "pid": "/backend", + "pid": "/", "type": 2, "subtype": 1, "name": "Asset", - "uri": "{/lang}/backend/accounting/asset/list?{?}", + "uri": "{/prefix}accounting/asset/list?{?}", "target": "self", "icon": null, "order": 1, @@ -15,11 +15,11 @@ "children": [ { "id": 1006602001, - "pid": "/backend/accounting/asset", + "pid": "/accounting/asset", "type": 3, "subtype": 1, "name": "List", - "uri": "{/lang}/backend/accounting/asset/list?{?}", + "uri": "{/prefix}accounting/asset/list?{?}", "target": "self", "icon": null, "order": 1, diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index 3062142..1f6342d 100644 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -7,7 +7,7 @@ use phpOMS\Router\RouteVerb; return [ - '^.*/backend/accounting/asset/list.*$' => [ + '^.*/accounting/asset/list.*$' => [ [ 'dest' => '\Modules\AssetManagement\Controller\BackendController:viewAssetManagementList', 'verb' => RouteVerb::GET, diff --git a/info.json b/info.json index cd8cea5..c13f95f 100644 --- a/info.json +++ b/info.json @@ -25,7 +25,7 @@ "load": [ { "pid": [ - "/backend/accounting/asset" + "/accounting/asset" ], "type": 4, "for": 0, @@ -34,7 +34,7 @@ }, { "pid": [ - "/backend" + "/" ], "type": 5, "from": "AssetManagement",