From 94cd6f8ded3d7e6bc23c49b558379701db056f2d Mon Sep 17 00:00:00 2001 From: Renato Moya Date: Tue, 1 Jul 2014 11:55:08 -0400 Subject: [PATCH] Update README, extra kaminari methods delegation. - In order to use kaminari's helper method `page_entries_info`, you need to delegate `:entry_name`, `:total_count`, `:offset_value` and `:last_page?`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 44eef69..ec6f081 100644 --- a/README.md +++ b/README.md @@ -260,7 +260,7 @@ the `object`: ```ruby class PaginatingDecorator < Draper::CollectionDecorator - delegate :current_page, :total_pages, :limit_value + delegate :current_page, :total_pages, :limit_value, :entry_name, :total_count, :offset_value, :last_page? end ```