Make app,localization in url optional+tld+subdomain

This commit is contained in:
Dennis Eichhorn 2019-03-09 23:21:29 +01:00
parent f3d06d9b65
commit 9003def9c8
3 changed files with 7 additions and 7 deletions

View File

@ -1,11 +1,11 @@
[ [
{ {
"id": 1006601001, "id": 1006601001,
"pid": "/backend", "pid": "/",
"type": 2, "type": 2,
"subtype": 1, "subtype": 1,
"name": "Asset", "name": "Asset",
"uri": "{/lang}/backend/accounting/asset/list?{?}", "uri": "{/prefix}accounting/asset/list?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -15,11 +15,11 @@
"children": [ "children": [
{ {
"id": 1006602001, "id": 1006602001,
"pid": "/backend/accounting/asset", "pid": "/accounting/asset",
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "List", "name": "List",
"uri": "{/lang}/backend/accounting/asset/list?{?}", "uri": "{/prefix}accounting/asset/list?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,

View File

@ -7,7 +7,7 @@ use phpOMS\Router\RouteVerb;
return [ return [
'^.*/backend/accounting/asset/list.*$' => [ '^.*/accounting/asset/list.*$' => [
[ [
'dest' => '\Modules\AssetManagement\Controller\BackendController:viewAssetManagementList', 'dest' => '\Modules\AssetManagement\Controller\BackendController:viewAssetManagementList',
'verb' => RouteVerb::GET, 'verb' => RouteVerb::GET,

View File

@ -25,7 +25,7 @@
"load": [ "load": [
{ {
"pid": [ "pid": [
"/backend/accounting/asset" "/accounting/asset"
], ],
"type": 4, "type": 4,
"for": 0, "for": 0,
@ -34,7 +34,7 @@
}, },
{ {
"pid": [ "pid": [
"/backend" "/"
], ],
"type": 5, "type": 5,
"from": "AssetManagement", "from": "AssetManagement",