public function vistaEditar($id) { //Me quedo con el item, buscando por id $texto = Texto::buscar($id); if ($texto) { $this->array_view['item'] = $texto->item(); $this->array_view['texto'] = $texto; return View::make('item.' . $this->folder_name . '.editar-texto', $this->array_view); } else { $this->array_view['texto'] = Lang::get('controllers.error_carga_pagina'); return View::make($this->project_name . '-error', $this->array_view); } }