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

fix last_page?

This commit is contained in:
Aurélien AMILIN 2011-04-06 17:59:13 +02:00 committed by Akira Matsuda
parent 32aceb7b7a
commit 81b508d80a

View file

@ -29,8 +29,9 @@ module Kaminari
# Last page of the collection?
def last_page?
current_page == num_pages
current_page >= num_pages
end
end
end
end