app/Http/Controllers/PersonalsController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $datos['Personas']=Personals::all();
        return view('admin.index',$datos);
    }
public function index ( ) { $ datos [ 'Personas' ] = Personals :: all ( ) ; return view ( 'admin.index' , $ datos ) ; }
Display a listing of the resource.
Display a listing of the resource .
//++