This commit is contained in:
2026-05-08 20:58:01 +05:00
parent bb5d03bf86
commit 9013124cbf
3 changed files with 13 additions and 11 deletions

View File

@@ -87,8 +87,10 @@ class OrderController extends Controller
* @param int $id
* @return \Illuminate\Http\Response
*/
public function destroy($id)
public function destroy(Order $order)
{
$order->delete();
return response()->rest();
}
}