Flowdock
v1.0.0 - Show latest stable - 0 notes

Provides methods for linking to ActionController::Pagination objects.

You can also build your links manually, like in this example:

<%= link_to "Previous page", { :page => paginator.current.previous } if paginator.current.previous %>

<%= link_to "Next page", { :page => paginator.current.next } if paginator.current.next =%>

Constants

DEFAULT_OPTIONS = { :name => :page, :window_size => 2, :always_show_anchors => true, :link_to_current_page => false, :params => {}

Attributes

Show files where this module is defined (1 file)
Register or log in to add new notes.