I've a route with a parameter in my laravel application.
Route::get('news/update/{id?}', 'Admin\NewsController@update')->name('news.update');
How can I redirect from a blade view to the route with the parameter?
This code redirects only to news/update?id=1
Does anyone has an idea?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire