1
I’m making a mistake when I try to erase an element of my bank. All other insert actions are working. .
i have an action button that should pay for an exam of my table
Only it appears that the delete method does not exist.
this is my controller
The correct route ta run, because the other functions of the normal crud ta.
I found an error similar to mine but I didn’t understand how I should apply in my project. I’m dealing with only 1 month old.
Similar mistake: https://github.com/laravel/framework/issues/23985
Please send php Artisan route:list
– Jorge Costa
Rout list: add no post
– Carlos Eduardo do Carmo Junior
what is in the variable
id
, I know she’s acollection
, but could you please place the contents of it?– RFL
What you have in the id variable is what appears in the above image table in Exam Cod, which would be the id of the exam which I want to delete
– Carlos Eduardo do Carmo Junior
Tip: In the next questions send the code and errors as text, and not as image, in image it is difficult to try to catch the code to replicate the error.
– MarceloBoni
Excuse me once I ask on the platform, but in case someone wants to do some testing I will make my github available with the project-> https://github.com/CarlosEduardo12/Projetos-Web. just add vendor folder
– Carlos Eduardo do Carmo Junior