code: public function index()
      {
          $models = $this->gateway->paginate($this->config->get('entrust-gui.pagination.'.$this->resource));
  
          return view('entrust-gui::'.$this->resource.'.index', compact(
              "models"
          ));
      }
docs: Display a listing of the resource.
  GET /model
  
  @return Response