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 92e9a66 commit b7442e7Copy full SHA for b7442e7
lib/active_model_serializers/adapter/json_api/pagination_links.rb
@@ -21,11 +21,11 @@ def initialize(collection, adapter_options)
21
22
def as_json
23
{
24
- "self": location_url,
25
- "first": first_page_url,
26
- "prev": prev_page_url,
27
- "next": next_page_url,
28
- "last": last_page_url
+ self: location_url,
+ first: first_page_url,
+ prev: prev_page_url,
+ next: next_page_url,
+ last: last_page_url
29
}
30
end
31
0 commit comments