vendredi 26 juin 2020

Too few arguments to function App\Http\Controllers\UsersController::edit(), 1 passed and exactly 2 expected

Too few arguments to function App\Http\Controllers\UsersController::edit(), 1 passed and exactly 2 expected

public function edit ($id , User $user) {
  $user = $user->find($id);
  return view('admin.user.edit',compact('user'));
}


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2VnnAu1
via IFTTT

Aucun commentaire:

Enregistrer un commentaire