1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

documentation

This commit is contained in:
Akira Matsuda 2011-02-13 18:50:09 +09:00
parent 6d99825318
commit 2e88f6b456

View file

@ -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!)