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?`.
This commit is contained in:
Renato Moya 2014-07-01 11:55:08 -04:00
parent ff41f17fa3
commit 94cd6f8ded
1 changed files with 1 additions and 1 deletions

View File

@ -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
```