/** * Display the specified resource. * GET /comunas/{id} * * @param int $id * @return Response */ public function show($id) { //checkAuthToken try { $this->checkAuthToken(Input::get('access_token')); $comunas = Comuna::findOrFail($id); return $this->reponseApi(200, '', '', $comunas); } catch (Exception $e) { return $this->reponseApi(200, 'true', $e->getMessage(), array('code' => 101)); } }