From 51206fbffdbcd301353064af11c595ccc31854e3 Mon Sep 17 00:00:00 2001 From: Toon Geens Date: Fri, 5 Mar 2021 12:12:40 +0100 Subject: [PATCH] Fix RepositoryEntityLinks in the documentation. Replace `RepositoryEntityLinks.linkToSingleResource()` to `RepositoryEntityLinks.linkToItemResource()`. Fixes #1984. --- src/main/asciidoc/integration.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/asciidoc/integration.adoc b/src/main/asciidoc/integration.adoc index 30d561094..415338fcc 100644 --- a/src/main/asciidoc/integration.adoc +++ b/src/main/asciidoc/integration.adoc @@ -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(...))`