/** * Display the specified resource. * * @param $city * * @internal param int $id * * @return Response */ public function show($search, CitiesRepository $city) { return $city->whereNameOrPostalCodeIs($search)->toJson(); }