We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 717ac11 + 09ebef2 commit 2170177Copy full SHA for 2170177
docs/howto/add_pagination_links.md
@@ -128,7 +128,7 @@ def meta_attributes(collection, extra_meta = {})
128
next_page: collection.next_page,
129
prev_page: collection.prev_page, # use collection.previous_page when using will_paginate
130
total_pages: collection.total_pages,
131
- total_count: collection.total_count
+ total_count: collection.total_count # use collection.total_entries when using will_paginate
132
}.merge(extra_meta)
133
end
134
```
0 commit comments