funcion/refactor-general #45

Open
atasistro wants to merge 111 commits from funcion/refactor-general into master
Showing only changes of commit fbbb400892 - Show all commits

View file

@ -34,8 +34,8 @@ Route::middleware('api')->group(function () {
});
Route::post('/{gdc}/devoluciones', function($gdc) {
$habilitadas = GrupoDeCompra::find($gdc)->toggleDevoluciones();
return ['devoluciones' => $habilitadas];
GrupoDeCompra::find($gdc)->toggleDevoluciones();
return response()->noContent();
});
});