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.
1 parent b2b4ad9 commit b62c861Copy full SHA for b62c861
README.md
@@ -55,6 +55,11 @@ ApiPagination.configure do |config|
55
config.per_page_param do |params|
56
params[:page][:size]
57
end
58
+
59
+ # Optional: Include the total and last_page link header
60
+ # By default, this is set to true
61
+ # Note: When using kaminari, this prevents the count call to the database
62
+ config.include_total = false
63
64
```
65
0 commit comments