mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
documentation
This commit is contained in:
parent
6d99825318
commit
2e88f6b456
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ This would output something like 1 ...(snip)... 18 19 20 while having 20 pages i
|
|||
<%= paginate @users, :left => 0, :right => 2 %>
|
||||
|
||||
* extra parameters (:params) for the links
|
||||
This would modify each link's url_option. :controller and :action would be the usual keys.
|
||||
This would modify each link's url_option. :controller and :action might be the keys in common.
|
||||
<%= paginate @users, :params => {:controller => 'foo', :action => 'bar'}
|
||||
|
||||
* Ajax links (crazy simple, but works perfectly!)
|
||||
|
|
Loading…
Reference in a new issue