Make app,localization in url optional+tld+subdomain

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

View File

@ -1,11 +1,11 @@
[ [
{ {
"id": 1004601001, "id": 1004601001,
"pid": "/backend", "pid": "/",
"type": 2, "type": 2,
"subtype": 1, "subtype": 1,
"name": "Budgeting", "name": "Budgeting",
"uri": "{/lang}/backend/controlling/budget/dashboard?{?}", "uri": "{/prefix}controlling/budget/dashboard?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -15,11 +15,11 @@
"children": [ "children": [
{ {
"id": 1004602001, "id": 1004602001,
"pid": "/backend/controlling/budget", "pid": "/controlling/budget",
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Dashboard", "name": "Dashboard",
"uri": "{/lang}/backend/controlling/budget/dashboard?{?}", "uri": "{/prefix}controlling/budget/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/controlling/budget/dashboard.*$' => [ '^.*/controlling/budget/dashboard.*$' => [
[ [
'dest' => '\Modules\BudgetManagement\Controller\BackendController:viewBudgetingDashboard', 'dest' => '\Modules\BudgetManagement\Controller\BackendController:viewBudgetingDashboard',
'verb' => RouteVerb::GET, 'verb' => RouteVerb::GET,

View File

@ -25,7 +25,7 @@
"load": [ "load": [
{ {
"pid": [ "pid": [
"/backend/controlling/budget" "/controlling/budget"
], ],
"type": 4, "type": 4,
"for": 0, "for": 0,
@ -34,7 +34,7 @@
}, },
{ {
"pid": [ "pid": [
"/backend" "/"
], ],
"type": 5, "type": 5,
"from": "BudgetManagement", "from": "BudgetManagement",