Skip to content

Commit

Permalink
Update OperationController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TomBurch committed Aug 9, 2021
1 parent 34e2680 commit 923eb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Operations/OperationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ public function store(Request $request, Operation $operation)
*/
public function destroy(Request $request, Operation $operation)
{
Operation::destroy($operation->id);
$operation->delete();
}
}

0 comments on commit 923eb2b

Please sign in to comment.