1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
kaminari--kaminari/spec/helpers
Jeff Iacono be33ca6516 page_entries_info view helper
Renders a helpful message with numbers of displayed vs. total entries.
Ported from mislav/will_paginate

Basic usage:
  <%= page_entries_info @posts %>
  # => Displaying posts 6 - 10 of 26 in total
2011-07-23 04:24:49 -05:00
..
action_view_extension_spec.rb page_entries_info view helper 2011-07-23 04:24:49 -05:00
helpers_spec.rb refactor: simplify pagination helper 2011-02-28 01:05:16 +09:00
tags_spec.rb refactor: simplify pagination helper 2011-02-28 01:05:16 +09:00