Sha256: bdced1339d70fd044b5cf73b490585e99344d0195230e9862b174c5b9107a42d
Contents?: true
Size: 285 Bytes
Versions: 4
Compression:
Stored size: 285 Bytes
Contents
module RailsPagination module ActionView module Base def paginate(*args) Pagination.new *args.unshift(request) end def pager(*args) render partial: 'rails_pagination/pager', locals: { pagination: paginate(*args) } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems