/** * Display a listing of the resource. * GET /regiones * * @return Response */ public function index() { //checkAuthToken try { $this->checkAuthToken(Input::get('access_token')); $regiones = Regione::all(); return $this->reponseApi(200, '', '', $regiones); } catch (Exception $e) { return $this->reponseApi(200, 'true', $e->getMessage(), array('code' => 101)); } }