Skip to content

Commit

Permalink
added paginate-responder link to the HTTP header in the How to doc (#132
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ddnexus committed Feb 27, 2019
1 parent 05e218c commit 71baf56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/how-to.md
Expand Up @@ -414,12 +414,13 @@ When the count caching is not an option, you may want to use the [countless extr

## Adding HTTP headers

The HTTP pagination headers may be useful for APIs, but they are currently out of scope for Pagy. However there are a couple of gems that support Pagy and do that for you in a quite automatic way.
The HTTP pagination headers are useful for APIs and Pagy will implement that feature in a next release (probably v2.1.0). Meanwhile there are a few gems that support Pagy and add the HTTP headers to the response for you in a quite automatic way.

Please, take a look at:

- [api-pagination](https://github.com/davidcelis/api-pagination)
- [pager-api](https://github.com/IcaliaLabs/pager-api)
- [paginate-responder](https://github.com/jgraichen/paginate-responder)

## Using the pagy_info helper

Expand Down

0 comments on commit 71baf56

Please sign in to comment.