You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@PanosCodes do you think it would make sense to add this to the returns-DSL now?
I am also in need of it for this exact use-case.
Would also be great if there would be some way to add this in a reusable pattern.
where we could implement pagy_headers just like a hash or even a param_group.
defpagy_headers[{key: "Link",description: "Relative links according to RFC..:"},{key: "Current-Page",description: "The current page in the pagination")},
...
]end
Hi, i'm using pagy in an API Only project to paginate model's index. This gem provides additional header in response, such as
Now i can add headers for request like this:
but how about headers for response?
The text was updated successfully, but these errors were encountered: