Skip to content

Commit

Permalink
Docs: update default config for extra headers (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroAugustoRamalhoDuarte authored Nov 20, 2024
1 parent 35c761b commit 27c0df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/extras/headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ If you use the `headers` extra with the [contless](countless.md) or [keyset](key

| Variable | Description | Default |
|:-----------|:---------------------------------------------------------|:--------------------------------------------------------------------------------------------|
| `:headers` | Hash variable to customize/suppress the optional headers | `{ page: 'current-page', items: 'page-items', count: 'total-count', pages: 'total-pages' }` |
| `:headers` | Hash variable to customize/suppress the optional headers | `{ page: 'current-page', limit: 'page-items', count: 'total-count', pages: 'total-pages' }` |

As usual, depending on the scope of the customization, you can set the variables globally or for a single pagy instance.

Expand Down

0 comments on commit 27c0df6

Please sign in to comment.