Make app,localization in url optional+tld+subdomain

This commit is contained in:
Dennis Eichhorn 2019-03-09 23:21:29 +01:00
parent 73f3eb2296
commit 0dcea82820
3 changed files with 7 additions and 7 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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",