jeudi 27 septembre 2018

how to remove a registered rout from web.php in laravel

I had defined a url in ajax as url:" in dynamic.blade.php and wrote Route::post('dynamic_dependent/fetch', 'TestController@fetch')->name('dynamicdependent.fetch'); in web.php. Now I have replaced the line in dynamic.blade.php with url: and removed Route::post('dynamic_dependent/fetch' line from web.php. Now my browser says that that dynamicdependent.fetch is not defined in dynamic.blade.php. I have cleared cache but no luck.what should I do?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire