Basically i want to know full error. I think you should check store function in controller it should be there. Second thing make sure you have proper blade files.
Provide details error snap. so that we can diagnosis.
You have route conflicts. You will need to adjust the URI of the Route::post to some other URI as the Resource uses that for the POST to create a resource.
Thank you kunalcoder23 and lagbox for your help and suggestions. I was able to fix it by adjusting the Route::post URI to something else as you suggested. I actually tried that solution before asking the question here but apparently I provided the wrong route to the ajax call and thus it didn't work and I supposed it had something to do with the routes configuration.
Anyway, thanks again, both of you!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community