lib/geared_pagination/page.rb in geared_pagination-1.0.0 vs lib/geared_pagination/page.rb in geared_pagination-1.0.1
- old
+ new
@@ -33,10 +33,10 @@
def only?
recordset.page_count == 1
end
def last?
- number == recordset.page_count
+ number >= recordset.page_count
end
def next_param
@portion.next_param recordset.records