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

View File

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

View File

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