Skip to content

Commit f8d99c7

Browse files
tgeensgregturn
authored andcommitted
Backport documentation fix for RepositoryEntityLinks to 3.3.x.
Replace `RepositoryEntityLinks.linkToSingleResource()` to `RepositoryEntityLinks.linkToItemResource()`. Fixes #1984.
1 parent 142b315 commit f8d99c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/asciidoc/integration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ With the class in the preceding example, you can use the following operations:
4040
|`entityLinks.linkToCollectionResource(Person.class)`
4141
|Provide a link to the collection resource of the specified type (`Person`, in this case).
4242

43-
|`entityLinks.linkToSingleResource(Person.class, 1)`
43+
|`entityLinks.linkToItemResource(Person.class, 1)`
4444
|Provide a link to a single resource.
4545

4646
|`entityLinks.linkToPagedResource(Person.class, new PageRequest(...))`

0 commit comments

Comments
 (0)