Skip to content

Commit

Permalink
Update OperationController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TomBurch committed Jan 25, 2022
1 parent 5c76f3e commit ff0cd60
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 ff0cd60

Please sign in to comment.