Sha256: 1588e7b48241e7262d1daf70c22d30b8db46a02f0616171a1c42a5ee3c154c8a

Contents?: true

Size: 238 Bytes

Versions: 2

Compression:

Stored size: 238 Bytes

Contents

class IrwiMod::Paginators::WillPaginate

  def paginate( collection, options = {} )
    collection.paginate( options )
  end

  def paginated_section( view, collection, &block )
    view.paginated_section( collection, &block )
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
irwi_mod-0.0.2 lib/irwi_mod/paginators/will_paginate.rb
irwi_mod-0.0.1 lib/irwi_mod/paginators/will_paginate.rb