public function visualizarAdminRedes() { $response = 0; $response = Centro::buscar_centro(3); if (count($response) != 0) { return View::make('admin.redesSociales')->with('redes', RedesSociales::listar_redes_sociales(3, 3))->with('centro', $response); } else { return View::make('admin.redesSociales')->with('error', 'No existe un centro de investigacion para ingresar objetivos'); } }
public function ingresarRedesSociales($centro) { $response = 0; $response = Centro::buscar_centro($centro); if (count($response) != 0) { return View::make('pruebas.redesSociales')->with('redes', RedesSociales::listar_redes_sociales(3, $centro))->with('centro', $centro); } else { return View::make('pruebas.redesSociales')->with('error', 'No existe un centro de investigacion para ingresar objetivos'); } }