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

[ci skip] Fix README

This commit is contained in:
yui-knk 2015-05-27 13:16:06 +09:00
parent 0146adf827
commit 090be556c9

View file

@ -170,7 +170,7 @@ Run the following generator command, then edit the generated file.
* specifying an alternative views directory (default is <tt>kaminari/</tt>)
<%= paginate @users, :views_prefix => 'templates/' %>
<%= paginate @users, :views_prefix => 'templates' %>
This would search for partials in <tt>app/views/templates/kaminari</tt>. This option makes it easier to do things like A/B testing pagination templates/themes, using new/old templates at the same time as well as better integration with other gems such as {cells}[https://github.com/apotonick/cells].
* the +link_to_next_page+ and +link_to_previous_page+ helper method