Skip to content

Commit ff0cd60

Browse files
committed
Update OperationController.php
1 parent 5c76f3e commit ff0cd60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Operations/OperationController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ public function store(Request $request, Operation $operation)
6262
*/
6363
public function destroy(Request $request, Operation $operation)
6464
{
65-
Operation::destroy($operation->id);
65+
$operation->delete();
6666
}
6767
}

0 commit comments

Comments
 (0)