app/views/kaminari/_prev_link.html.erb in kaminari-0.8.0 vs app/views/kaminari/_prev_link.html.erb in kaminari-0.9.0
- old
+ new
@@ -1,6 +1,13 @@
+<%# available local variables:
+ prev_url: url to the previous page
+ current_page: the page number of currently displayed page
+ num_pages: total number of pages
+ per_page: number of items to fetch per page
+ remote: data-remote
+-%>
<span class="prev">
<%= link_to_if (current_page > 1), raw('« Prev'), prev_url, :class => 'prev', :rel => 'prev', :remote => remote %>
</span>