4 months ago

laravel can't destroy item

Posted 4 months ago by pn51291

Hi guys,

I'm trying to delete an item in database. I created a form with @csrf and @method('DELETE'), but when I try to delete, it didn't do anything or display any errors. It just add the secret_token, title and method to the url.


I also put a dd() in the destroy(), but it didn't reach the destroy(). Not sure, what have I done wrong here?.

Please sign in or create an account to participate in this conversation.