Google Translate: I am working on a laravel project in which I use theme.less all the views worked well but there is a view that presents this error to me the only difference between this view and the other than it in its route it has id parameter that it must take into account
<tbody> @foreach($nouveaux as $nouveau) <tr> <td><a href="{{ URL::action('TraitementController@indexEntretient', $nouveau->id) }}">{{ $nouveau->nom }}</a></td> <td>{{ $nouveau->sexe}}</td> <td>{{ $nouveau->date_naissance}}</td> <td>{{ $nouveau->lieu}}</td> <td>{{ $nouveau->telephone}}</td> </tr> @endforeach </tr> </tbody> </table> </div> </div>
Route::get('/Entretients/{id}','TraitementController@indexEntretient')->name('home'); //TraitementControlle.php public function indexEntretient($id) { $nouveau = DB::select('select * from nouveaus where id = ?', [$id]); return view('Entretient', compact('nouveau')); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)