Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for pagy #23

Merged
merged 8 commits into from
Apr 30, 2019
Prev Previous commit
Next Next commit
Renames module total_count_header duplicate variable to total_pages_h…
…eader
  • Loading branch information
kurenn committed Jun 5, 2018
commit bcfefe1693994bdbe1c62d6a33ac39870bf3c5a1
2 changes: 1 addition & 1 deletion lib/pager_api.rb
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ module PagerApi

# Total Pages Header name
mattr_accessor :total_pages_header
@@total_count_header = "X-Total-Pages"
@@total_pages_header = "X-Total-Pages"

# Total Count Header name
mattr_accessor :total_count_header