mirror of
https://github.com/Karaka-Management/oms-Surveys.git
synced 2026-02-06 02:58:40 +00:00
Make app,localization in url optional+tld+subdomain
This commit is contained in:
parent
910ecc6665
commit
ac98ceb79b
|
|
@ -1,11 +1,11 @@
|
|||
[
|
||||
{
|
||||
"id": 1000801001,
|
||||
"pid": "/backend",
|
||||
"pid": "/",
|
||||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "Surveys",
|
||||
"uri": "{/lang}/backend/survey/list?{?}",
|
||||
"uri": "{/prefix}survey/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 50,
|
||||
|
|
@ -15,11 +15,11 @@
|
|||
"children": [
|
||||
{
|
||||
"id": 1000802001,
|
||||
"pid": "/backend/survey",
|
||||
"pid": "/survey",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "List",
|
||||
"uri": "{/lang}/backend/survey/list?{?}",
|
||||
"uri": "{/prefix}survey/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -30,11 +30,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1000803001,
|
||||
"pid": "/backend/survey",
|
||||
"pid": "/survey",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Create",
|
||||
"uri": "{/lang}/backend/survey/create?{?}",
|
||||
"uri": "{/prefix}survey/create?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType;
|
|||
use phpOMS\Router\RouteVerb;
|
||||
|
||||
return [
|
||||
'^.*/backend/survey/list.*$' => [
|
||||
'^.*/survey/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Surveys\Controller\BackendController:viewSurveysList',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
@ -17,7 +17,7 @@ return [
|
|||
],
|
||||
],
|
||||
],
|
||||
'^.*/backend/survey/create.*$' => [
|
||||
'^.*/survey/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Surveys\Controller\BackendController:viewSurveysCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
@ -28,7 +28,7 @@ return [
|
|||
],
|
||||
],
|
||||
],
|
||||
'^.*/backend/survey/profile.*$' => [
|
||||
'^.*/survey/profile.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Surveys\Controller\BackendController:viewSurveysProfile',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user