Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pagination.rb « helpers « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9c5b355e823487f431d59c00b8eeddf14812f2f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module API
  module Helpers
    module Pagination
      def paginate(relation)
        ::Gitlab::Pagination::OffsetPagination.new(self).paginate(relation)
      end
    end
  end
end