mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-01-11 15:48:42 +00:00
remove dynamic start for routes
This commit is contained in:
parent
67204ecbc2
commit
d7622cb737
|
|
@ -18,7 +18,7 @@ use phpOMS\Account\PermissionType;
|
||||||
use phpOMS\Router\RouteVerb;
|
use phpOMS\Router\RouteVerb;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'^.*/admin/module/settings\?id=QA&app=.*?$' => [
|
'^/admin/module/settings\?id=QA&app=.*?$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\QA\Controller\BackendController:viewAppSettings',
|
'dest' => '\Modules\QA\Controller\BackendController:viewAppSettings',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -29,7 +29,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/qa/.*' => [
|
'^/qa/.*' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\QA\Controller\BackendController:setUpBackend',
|
'dest' => '\Modules\QA\Controller\BackendController:setUpBackend',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -40,7 +40,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/qa/dashboard(\?.*$|$)' => [
|
'^/qa/dashboard(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\QA\Controller\BackendController:viewQADashboard',
|
'dest' => '\Modules\QA\Controller\BackendController:viewQADashboard',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -51,7 +51,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/qa/question(\?.*$|$)' => [
|
'^/qa/question(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\QA\Controller\BackendController:viewQADoc',
|
'dest' => '\Modules\QA\Controller\BackendController:viewQADoc',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -62,7 +62,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/qa/question/create(\?.*$|$)' => [
|
'^/qa/question/create(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\QA\Controller\BackendController:viewQAQuestionCreate',
|
'dest' => '\Modules\QA\Controller\BackendController:viewQAQuestionCreate',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -73,7 +73,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/qa/app/list(\?.*$|$)' => [
|
'^/qa/app/list(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\QA\Controller\BackendController:viewQAAppList',
|
'dest' => '\Modules\QA\Controller\BackendController:viewQAAppList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -84,7 +84,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/qa/app/view(\?.*$|$)' => [
|
'^/qa/app/view(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\QA\Controller\BackendController:viewQAApp',
|
'dest' => '\Modules\QA\Controller\BackendController:viewQAApp',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -95,7 +95,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/qa/app/create(\?.*$|$)' => [
|
'^/qa/app/create(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\QA\Controller\BackendController:viewQAAppCreate',
|
'dest' => '\Modules\QA\Controller\BackendController:viewQAAppCreate',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user