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'); - });