samedi 31 août 2019

I want to pass two parameters to the URL

I want to pass two parameters with the route helper
One is the thread ID and the other is less so I want to pass both

index.blade.php

@foreach($works as $work)
<tr>
<td><a href=""></a></td>

web.php

Route::get('/work/edit/{id}/{project}', 'WorkController@edit')->name('work.edit');

Incidentally, the error appears like this

Missing required parameters for [Route: work.edit] [URI: work/edit/{id}/{project}]. 

I don't have a good idea of ​​what to do



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire