Modificada redireccion por defecto en formulario de editar para que se quede en editar y no vaya al listado general

This commit is contained in:
imnavajas
2023-07-26 23:02:22 +02:00
parent d25ff9666c
commit 379d540e8b
21 changed files with 24 additions and 27 deletions

View File

@ -162,7 +162,7 @@ class Paises extends \App\Controllers\GoBaseResourceController
$paisEntity->fill($sanitizedData);
$thenRedirect = true;
$thenRedirect = false;
endif;
if ($noException && $successfulResult) :
$id = $paisEntity->id ?? $id;