//$user = User::find($id); //if (!$user) { abort (404); } //=> do this $user = User::findOrFail($id); //@sujay