dimanche 15 avril 2018

Laravel named route with {parametr}

Route::match(['patch','put'],'/edit/{id}', 'TestController@update')->name('update');

using route() helper in form action I expected to see

https://example.com/edit/1

And what I get using is https://example.com/edit?1

Any ideas how to resolve this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire