mirror of
https://github.com/mcasimir/kaminari-bootstrap.git
synced 2022-11-09 13:46:52 -05:00
Fix for rename of num_pages to total_pages
This commit is contained in:
parent
5b139d6d34
commit
655bfa18ae
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
-%>
|
-%>
|
||||||
<%= paginator.render do -%>
|
<%= paginator.render do -%>
|
||||||
<nav class="pagination">
|
<nav class="pagination">
|
||||||
<% if num_pages > 0 -%>
|
<% if total_pages > 0 -%>
|
||||||
<ul>
|
<ul>
|
||||||
<%= first_page_tag unless current_page.first? %>
|
<%= first_page_tag unless current_page.first? %>
|
||||||
<%= prev_page_tag unless current_page.first? %>
|
<%= prev_page_tag unless current_page.first? %>
|
||||||
|
|
Loading…
Reference in a new issue