diff --git a/app/Http/Controllers/Operations/OperationController.php b/app/Http/Controllers/Operations/OperationController.php index 07d9c450..35788864 100644 --- a/app/Http/Controllers/Operations/OperationController.php +++ b/app/Http/Controllers/Operations/OperationController.php @@ -62,6 +62,6 @@ public function store(Request $request, Operation $operation) */ public function destroy(Request $request, Operation $operation) { - Operation::destroy($operation->id); + $operation->delete(); } }