Sha256: 799c5ca5794bf9f9a899915c396e8ce4d5504a21b675dca2a9f569ffbaeade5d
Contents?: true
Size: 346 Bytes
Versions: 7
Compression:
Stored size: 346 Bytes
Contents
require 'kaminari/models/array_extension' require 'liquor/extensions/pagination' module Kaminari class PaginatableArray def to_drop Liquor::Pagination::Scope.new(self) end def to_page_path(url_generator, page) raise NotImplementedError, "Liquor: Kaminari::PaginatableArray cannot generate page paths" end end end
Version data entries
7 entries across 7 versions & 1 rubygems