Skip to content

Commit

Permalink
🐛 #118 correção caminho
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Jul 30, 2022
1 parent 6ad882c commit 62ed525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/CreateApiRoutesCall.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function addRouterForTable()
$this->addBlankLine();
$this->addCommentTableOrView($tableType,$tableName);
$tableName = ucfirst(strtolower($tableName));
$this->addLine('$urlGrupo = $urlChamada.\'strtolower($tableName)\';');
$this->addLine('$urlGrupo = $urlChamada.\''.strtolower($tableName).'\';');
$this->addLine('$app->group($urlGrupo, function(RouteCollectorProxy $group) use ($app,$urlGrupo) {');
$this->addLine(ESP.'$app->get($urlGrupo.\'\', '.$tableName.'API::class . \':selectAll\');');
$this->addLine(ESP.'$app->get($urlGrupo.\'/{id:[0-9]+}\', '.$tableName.'API::class . \':selectById\');');
Expand Down

0 comments on commit 62ed525

Please sign in to comment.