Sha256: 673fc2b462e5dd5a768ab90a8cbf7b3d2031d55fd119458ffa84b7d5cf58a4e6

Contents?: true

Size: 193 Bytes

Versions: 7

Compression:

Stored size: 193 Bytes

Contents

module AjaxDatatablesRails
  module Extensions
    module Kaminari

      private
      
      def paginate_records(records)
        records.page(page).per(per_page)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ajax-datatables-rails-0.3.1 lib/ajax-datatables-rails/extensions/kaminari.rb
ajax-datatables-rails-0.3.0 lib/ajax-datatables-rails/extensions/kaminari.rb
ajax-datatables-rails-0.2.1 lib/ajax-datatables-rails/extensions/kaminari.rb
ajax-datatables-rails-0.2.0 lib/ajax-datatables-rails/extensions/kaminari.rb
ajax-datatables-rails-0.1.2 lib/ajax-datatables-rails/extensions/kaminari.rb
ajax-datatables-rails-0.1.1 lib/ajax-datatables-rails/extensions/kaminari.rb
ajax-datatables-rails-0.1.0 lib/ajax-datatables-rails/extensions/kaminari.rb