Sha256: ebe9d6cf44c433e14b98465f23743370dd082bbc0b5d7f0b1d1290d6959399d3

Contents?: true

Size: 195 Bytes

Versions: 2

Compression:

Stored size: 195 Bytes

Contents

module Godmin
  module Resource
    module Pagination
      extend ActiveSupport::Concern

      def apply_pagination(resources)
        resources.page(params[:page])
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
godmin-0.9.1 lib/godmin/resource/pagination.rb
godmin-0.9.0 lib/godmin/resource/pagination.rb