userService->getUserById($id); if (! $user) { abort(404, '사용자를 찾을 수 없습니다.'); } return view('users.edit', compact('user')); } }