diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 712e602..7b321d0 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -1,11 +1,11 @@ [ { "id": 1007101001, - "pid": "/backend", + "pid": "/", "type": 2, "subtype": 1, "name": "Investment", - "uri": "{/lang}/backend/controlling/investment/dashboard?{?}", + "uri": "{/prefix}controlling/investment/dashboard?{?}", "target": "self", "icon": null, "order": 1, @@ -15,11 +15,11 @@ "children": [ { "id": 1007102001, - "pid": "/backend/controlling/investment", + "pid": "/controlling/investment", "type": 3, "subtype": 1, "name": "Dashboard", - "uri": "{/lang}/backend/controlling/investment/dashboard?{?}", + "uri": "{/prefix}controlling/investment/dashboard?{?}", "target": "self", "icon": null, "order": 1, diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index a5630eb..7453940 100644 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType; use phpOMS\Router\RouteVerb; return [ - '^.*/backend/controlling/investment/dashboard.*$' => [ + '^.*/controlling/investment/dashboard.*$' => [ [ 'dest' => '\Modules\InvestmentManagement\Controller\BackendController:viewInvestmentDashboard', 'verb' => RouteVerb::GET, diff --git a/info.json b/info.json index b2f4612..2c4c7a2 100644 --- a/info.json +++ b/info.json @@ -25,7 +25,7 @@ "load": [ { "pid": [ - "/backend/controlling/investment" + "/controlling/investment" ], "type": 4, "for": 0, @@ -34,7 +34,7 @@ }, { "pid": [ - "/backend" + "/" ], "type": 5, "from": "InvestmentManagement",