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'));
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire