documentation

This commit is contained in:
Akira Matsuda 2011-02-13 18:50:09 +09:00
parent 6d99825318
commit 2e88f6b456
1 changed files with 1 additions and 1 deletions

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