Skip to content

Commit 1cb4bc4

Browse files
committed
update readme
1 parent 9785697 commit 1cb4bc4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ ApiPagination.configure do |config|
3939

4040
# By default, this is set to 'Per-Page'
4141
config.per_page_header = 'X-Per-Page'
42+
43+
# Optional : set this to add a header with the current page number.
44+
config.page_header = 'X-Page'
4245
end
4346
```
4447

0 commit comments

Comments
 (0)