remove dynamic start for routes

This commit is contained in:
Dennis Eichhorn 2024-03-29 15:27:30 +00:00
parent 5679a2d5c3
commit f3cac4a934

View File

@ -18,7 +18,7 @@ use phpOMS\Account\PermissionType;
use phpOMS\Router\RouteVerb; use phpOMS\Router\RouteVerb;
return [ return [
'^.*/accounting/cash/list(\?.*$|$)' => [ '^/accounting/cash/list(\?.*$|$)' => [
[ [
'dest' => '\Modules\CashManagement\Controller\BackendController:viewCashList', 'dest' => '\Modules\CashManagement\Controller\BackendController:viewCashList',
'verb' => RouteVerb::GET, 'verb' => RouteVerb::GET,
@ -29,7 +29,7 @@ return [
], ],
], ],
], ],
'^.*/accounting/cash/register(\?.*$|$)' => [ '^/accounting/cash/register(\?.*$|$)' => [
[ [
'dest' => '\Modules\CashManagement\Controller\BackendController:viewCashList', 'dest' => '\Modules\CashManagement\Controller\BackendController:viewCashList',
'verb' => RouteVerb::GET, 'verb' => RouteVerb::GET,