🔥 Laravel Tip: Route model binding soft-deleted models
Apr 4, 2022
By default, when using route model binding will not retrieve models that have been soft-deleted.
You can change that behavior by using `withTrashed` in your route.
You can change that behavior by using `withTrashed` in your route.
![tip-image-0](https://res.cloudinary.com/dpmeu3otn/image/upload/v1666553091/tips/ggpnvwawpnbd5hfdm7h2.jpg)
Other tips: