Laravel 11 / Vue – 404 not found when force deleting a soft deleted model via route model binding and utilising destroy()
When I am trying to forceDelete() a soft deleted model through route model binding I am getting 404 not found. This only happens when force deleting a model and not when restoring or soft deleting. I have set the edit method to restore the model if it’s being edited and it was trashed and this works correctly via route model binding (see below code).