mirror of
https://github.com/Karaka-Management/oms-Balance.git
synced 2026-01-11 15:18:41 +00:00
Make app,localization in url optional+tld+subdomain
This commit is contained in:
parent
0c7a3d56a0
commit
081e57304c
|
|
@ -1,11 +1,11 @@
|
|||
[
|
||||
{
|
||||
"id": 1006501001,
|
||||
"pid": "/backend",
|
||||
"pid": "/",
|
||||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "Balance",
|
||||
"uri": "{/lang}/backend/controlling/balance/dashboard?{?}",
|
||||
"uri": "{/prefix}controlling/balance/dashboard?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -15,11 +15,11 @@
|
|||
"children": [
|
||||
{
|
||||
"id": 1006502001,
|
||||
"pid": "/backend/controlling/balance",
|
||||
"pid": "/controlling/balance",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Dashboard",
|
||||
"uri": "{/lang}/backend/controlling/balance/dashboard?{?}",
|
||||
"uri": "{/prefix}controlling/balance/dashboard?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType;
|
|||
use phpOMS\Router\RouteVerb;
|
||||
|
||||
return [
|
||||
'^.*/backend/controlling/balance/dashboard.*$' => [
|
||||
'^.*/controlling/balance/dashboard.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Balance\Controller\BackendController:viewBalanceDashboard',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user