From 0b40c983563cd0daf35c83e2920cdaf7cd5bb7ed Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 2 May 2024 22:54:38 +0000 Subject: [PATCH] Went through todos --- Admin/Routes/Web/Api.php | 10 +++++----- Controller/BackendController.php | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Admin/Routes/Web/Api.php b/Admin/Routes/Web/Api.php index 0088c0e..747a98c 100644 --- a/Admin/Routes/Web/Api.php +++ b/Admin/Routes/Web/Api.php @@ -31,7 +31,7 @@ return [ ], ], ], - '^.*/finance/investment/attribute$' => [ + '^.*/finance/investment/attribute(\?.*|$)$' => [ [ 'dest' => '\Modules\InvestmentManagement\Controller\ApiAttributeController:apiInvestmentAttributeCreate', 'verb' => RouteVerb::PUT, @@ -55,7 +55,7 @@ return [ ], ], ], - '^.*/finance/investment/attribute/type$' => [ + '^.*/finance/investment/attribute/type(\?.*|$)$' => [ [ 'dest' => '\Modules\InvestmentManagement\Controller\ApiAttributeController:apiInvestmentAttributeTypeCreate', 'verb' => RouteVerb::PUT, @@ -79,7 +79,7 @@ return [ ], ], ], - '^.*/finance/investment/attribute/type/l11n$' => [ + '^.*/finance/investment/attribute/type/l11n(\?.*|$)$' => [ [ 'dest' => '\Modules\InvestmentManagement\Controller\ApiAttributeController:apiInvestmentAttributeTypeL11nCreate', 'verb' => RouteVerb::PUT, @@ -103,7 +103,7 @@ return [ ], ], ], - '^.*/finance/investment/attribute/value$' => [ + '^.*/finance/investment/attribute/value(\?.*|$)$' => [ [ 'dest' => '\Modules\InvestmentManagement\Controller\ApiAttributeController:apiInvestmentAttributeValueCreate', 'verb' => RouteVerb::PUT, @@ -127,7 +127,7 @@ return [ ], ], ], - '^.*/finance/investment/attribute/value$' => [ + '^.*/finance/investment/attribute/value(\?.*|$)$' => [ [ 'dest' => '\Modules\InvestmentManagement\Controller\ApiAttributeController:apiInvestmentAttributeValueL11nCreate', 'verb' => RouteVerb::PUT, diff --git a/Controller/BackendController.php b/Controller/BackendController.php index c1b254d..2b4383e 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -119,6 +119,9 @@ final class BackendController extends Controller * * @return RenderableInterface * + * @feature Compare different investment options in costs/feasibility + * https://github.com/Karaka-Management/oms-InvestmentManagement/issues/1 + * * @since 1.0.0 * @codeCoverageIgnore */