Backport documentation fix for RepositoryEntityLinks to 3.3.x.

Replace `RepositoryEntityLinks.linkToSingleResource()` to `RepositoryEntityLinks.linkToItemResource()`.

Fixes #1984.
This commit is contained in:
Toon Geens
2021-03-05 12:12:40 +01:00
committed by Greg L. Turnquist
parent 142b315a60
commit f8d99c7ad3

View File

@@ -40,7 +40,7 @@ With the class in the preceding example, you can use the following operations:
|`entityLinks.linkToCollectionResource(Person.class)`
|Provide a link to the collection resource of the specified type (`Person`, in this case).
|`entityLinks.linkToSingleResource(Person.class, 1)`
|`entityLinks.linkToItemResource(Person.class, 1)`
|Provide a link to a single resource.
|`entityLinks.linkToPagedResource(Person.class, new PageRequest(...))`