mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
Merge pull request #631 from renatomoya/feature/updated-readme-kaminari-methods-delegation
Update README, extra kaminari methods delegation.
This commit is contained in:
commit
010e9eec88
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,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
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue