Read about our upcoming Code of Conduct on this issue

pagination.rb 214 Bytes
Newer Older
1
2
# frozen_string_literal: true

3
4
5
6
module API
  module Helpers
    module Pagination
      def paginate(relation)
7
        ::Gitlab::Pagination::OffsetPagination.new(self).paginate(relation)
8
      end
9
10
11
    end
  end
end