/** * Display a listing of the resource. * * @return Response */ public function index() { $planos = \App\Plano::select('id', 'nome')->get(); return $planos; }