From 1dc7ea7dc41e6c842e2c2ec255d15e1d5b2cd450 Mon Sep 17 00:00:00 2001 From: Reinaldo Araujo Barreto Junior Date: Wed, 3 Aug 2022 18:35:59 -0300 Subject: [PATCH] =?UTF-8?q?:bug:=20#270=20corre=C3=A7=C3=A3o=20metodo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appexemplo_v2.0/api/routes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appexemplo_v2.0/api/routes.php b/appexemplo_v2.0/api/routes.php index f349d723..412645e7 100644 --- a/appexemplo_v2.0/api/routes.php +++ b/appexemplo_v2.0/api/routes.php @@ -131,10 +131,10 @@ //-------------------------------------------------------------------- // VIEW: selMenuQtd //-------------------------------------------------------------------- -$app->group('/selmenuqtd', function() use ($app) { +$urlGrupo = $urlChamada.'selmenuqtd'; +$app->group($urlGrupo, function(RouteCollectorProxy $group) use ($app,$urlGrupo) { $app->get('', SelmenuqtdAPI::class . ':selectAll'); $app->get('/{id:[0-9]+}', SelmenuqtdAPI::class . ':selectById'); - });