Fix RepositoryEntityLinks in the documentation.

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 65d4d71895
commit 51206fbffd

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(...))`