i have a route resource that points to a controller. I want to delete data using the delete method. However, when the data arrives at the controller, the data is empty. can someone tell me where the error is
CodePudding user response:
Since there isn't much to go by, i'm gonna take a wild guess and say that maybe you want dashboard instead of dashbaord on your route. Might be totally unrelated to the problem tough.
CodePudding user response:
In blade change form action to :
action="{{route('dashboard.destroy',[$b->id])}}"
and note that always add that part of code on question!