/** * Display a listing of the resource. * * @return Response */ public function index() { // $ContactoU = Contacto::value('Ubicacion'); $ContactoD = Contacto::value('Descripcion'); $ContactoT = Contacto::value('Telefono'); $ContactoURL = Contacto::value('URLUbicacion'); $redessociales = RedesSociales::select('Titulo', 'Glyph', 'URLPagina')->get(); $Planteles = Contacto::select('Ubicacion', 'Descripcion')->where('id', '>', 1)->get(); return view('layoutContactanos')->with(['ContactoU' => $ContactoU, 'ContactoD' => $ContactoD, 'ContactoT' => $ContactoT, 'ContactoURL' => $ContactoURL, 'redessociales' => $redessociales, 'Planteles' => $Planteles]); }