/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function postEdit($id) { $pais = Pais::with('continenteR')->findOrFail($id); return $pais->toJson(); }
/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function postEdit($id) { $pais = Pais::with('continenteR')->findOrFail($id); return $pais->toJson(); }