We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88d6c3d commit df9b7a8Copy full SHA for df9b7a8
lib/active_model_serializers/adapter/json_api/pagination_links.rb
@@ -63,7 +63,7 @@ def prev_page_url
63
64
def next_page_url
65
return nil if collection.total_pages == 0 ||
66
- collection.current_page >= collection.total_pages
+ collection.current_page >= collection.total_pages
67
url_for_page(collection.next_page)
68
end
69
0 commit comments