lib/paginate-responder/adapter/paginate_adapter.rb in paginate-responder-1.3.0 vs lib/paginate-responder/adapter/paginate_adapter.rb in paginate-responder-1.4.0

- old
+ new

@@ -17,7 +17,11 @@ end def total_pages resource.total_pages if resource.respond_to? :total_pages end + + def total_count + resource.total_entries if resource.respond_to? :total_entries + end end end