public function getMisOfertas() { if (!$this->checkLoggedEmpresa()) { return $this->redirect; } $ofertaC = new Oferta(); $ofertas = $ofertaC->obtenerOfertas(Session::get('id_empresa')); return View::make('empresa/misOfertas', array('ofertas' => $ofertas, 'thisA' => $this)); }