1
0
Fork 0
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:
Nic Barthelemy 2012-09-14 15:37:52 -07:00
parent 5b139d6d34
commit 655bfa18ae

View file

@ -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? %>