Make app,localization in url optional+tld+subdomain

This commit is contained in:
Dennis Eichhorn 2019-03-09 23:21:29 +01:00
parent 2a47f856f8
commit 6d520036b2
3 changed files with 7 additions and 7 deletions

View File

@ -1,11 +1,11 @@
[ [
{ {
"id": 1006301001, "id": 1006301001,
"pid": "/backend", "pid": "/",
"type": 2, "type": 2,
"subtype": 1, "subtype": 1,
"name": "TimeRecording", "name": "TimeRecording",
"uri": "{/lang}/backend/hr/timerecording/dashboard?{?}", "uri": "{/prefix}hr/timerecording/dashboard?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 70, "order": 70,
@ -15,11 +15,11 @@
"children": [ "children": [
{ {
"id": 1006302001, "id": 1006302001,
"pid": "/backend/hr/timerecording", "pid": "/hr/timerecording",
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "List", "name": "List",
"uri": "{/lang}/backend/hr/timerecording/dashboard?{?}", "uri": "{/prefix}hr/timerecording/dashboard?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,

View File

@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType;
use phpOMS\Router\RouteVerb; use phpOMS\Router\RouteVerb;
return [ return [
'^.*/backend/hr/timerecording/dashboard.*$' => [ '^.*/hr/timerecording/dashboard.*$' => [
[ [
'dest' => '\Modules\HumanResourceTimeRecording\Controller\BackendController:viewDashboard', 'dest' => '\Modules\HumanResourceTimeRecording\Controller\BackendController:viewDashboard',
'verb' => RouteVerb::GET, 'verb' => RouteVerb::GET,

View File

@ -25,7 +25,7 @@
"load": [ "load": [
{ {
"pid": [ "pid": [
"/backend/database" "/database"
], ],
"type": 4, "type": 4,
"for": "Content", "for": "Content",
@ -34,7 +34,7 @@
}, },
{ {
"pid": [ "pid": [
"/backend" "/"
], ],
"type": 5, "type": 5,
"from": "HumanResourceTimeRecording", "from": "HumanResourceTimeRecording",