Skip to content

Commit 9c80438

Browse files
committed
doc(readme): update to highlight page_count options
1 parent 14bb1fc commit 9c80438

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,6 +1877,10 @@ JSONAPI.configure do |config|
18771877
config.top_level_meta_include_record_count = false
18781878
config.top_level_meta_record_count_key = :record_count
18791879
1880+
# For :paged paginators, the following are also available
1881+
config.top_level_meta_include_page_count = false
1882+
config.top_level_meta_page_count_key = :page_count
1883+
18801884
config.use_text_errors = false
18811885
18821886
# List of classes that should not be rescued by the operations processor.

0 commit comments

Comments
 (0)