problem when editing or viewing deleted records
I have just a resource with records. But when i delete one and try to edit or view it i get a 404. What can i do to solve this problem.
Im using softdeletes to delete a record
The code is just a normal resource nothing special or extra
5 Replies
i guess you are using softdeletes ?
otherwise there is nothing to edit
Yes, im using softdeletes
this is my resource if it helps
Anyone π
Please read the documenation, it explains how to use soft deletes and the trashed filter
Solution
I found the problem
It was a global filter in the model being added and it made the records unavailable.