Alberto Miedes Garcés
050060478d
Fix typo ( #1916 )
2016-09-06 08:42:04 -04:00
Francisco Quintero
e8f0dc787e
Add note about will_paginate previous_page method ( #1801 )
...
* Add note about will_paginate previous_page method
Pagination_dict method in JSON adapter section refers only to kaminari prev_page. Newer version of will_paginate uses previous_page method.
* move annotation for will_paginate's previous_page method to inline comment in example methods definition
2016-06-26 22:17:21 -05:00
L. Preston Sego III
bbebeab348
Merge pull request #1280 from vasilakisfil/patch-1
...
Show how pagination can be done using meta tag from controller in JSON adapter
2016-03-10 12:53:41 -05:00
Edwin Lunando
2678896a9c
update JSON adapter pagination links
2016-01-28 13:51:19 +07:00
Benjamin Fleischer
ce17a1b305
[DOCS] Refactor, update, create documentation [ci skip]
2015-12-14 14:38:29 -06:00
Benjamin Fleischer
2c8b9b796d
Rename ArraySerializer to CollectionSerializer for clarity
2015-10-21 16:53:26 -05:00
Filippos Vasilakis
91d6215ac4
Update add_pagination_links.md
2015-10-20 14:26:03 +02:00
Benjamin Fleischer
c6f8d0f5f2
Rename FlattenJson to Attributes (allow plural adapter names)
2015-09-18 10:17:02 -05:00
Benjamin Fleischer
0091be89f8
Consistently refer to the 'JSON API' and the 'JsonApi' adapter
2015-09-17 15:22:28 -05:00
Bruno Bacarini
b73ffe25c8
add kaminari and will_paginate examples
2015-08-20 11:31:21 -03:00
Bruno Bacarini
f85027e631
add more documentation to pagination links
2015-08-19 11:09:47 -03:00
Bruno Bacarini
2c2f948fa0
Add pagination links automatically
...
Pagination links will be included in your response automatically as long
as the resource is paginated using Kaminari or WillPaginate
and if you are using a JSON-API adapter. The others adapters does not have this feature.
2015-08-18 19:04:04 -03:00
Bruno Bacarini
a41d90cce4
add self to pagination links
2015-08-18 19:04:04 -03:00
Bruno Bacarini
7be25fef14
include query_parameters on pagination links as well
2015-08-18 19:04:03 -03:00
Bruno Bacarini
e62a7d6f34
return complete URIs on pagination links
2015-08-18 19:04:03 -03:00
Bruno Bacarini
acb6545c50
add documentation to pagination feature
2015-08-18 19:04:03 -03:00