Devolviendo resource tras crear pedido
This commit is contained in:
parent
d4df72afe2
commit
fd055cd7c6
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class SubpedidoController extends Controller
|
|||
$s->nombre = $validado["nombre"];
|
||||
$s->grupo_de_compra_id = $validado["grupo_de_compra_id"];
|
||||
$s->save();
|
||||
return $s;
|
||||
return $this->show($s);
|
||||
}
|
||||
|
||||
protected function validateSubpedido(): array
|
||||
|
|
Loading…
Add table
Reference in a new issue