#837 - Fix code references.

This commit is contained in:
Greg Turnquist
2019-03-01 19:20:36 -06:00
parent fbfccfb93e
commit fde1ef1099
2 changed files with 7 additions and 6 deletions

View File

@@ -1,6 +1,3 @@
:code: ../../..
[[fundamentals]]
= Fundamentals
@@ -229,7 +226,7 @@ The following code shows how to take a *self* link and associate two more afford
====
[source,java,indent=0]
----
include::{code}/src/docs/java/org/springframework/hateoas/EmployeeController.java[tag=get]
include::{code-dir}/src/docs/java/org/springframework/hateoas/EmployeeController.java[tag=get]
----
<1> Create the *self* link.
<2> Associate the `updateEmployee` method with the `self` link.
@@ -244,7 +241,7 @@ Imagine that the related methods *afforded* above looking like this:
====
[source,java,indent=0]
----
include::{code}/src/docs/java/org/springframework/hateoas/EmployeeController.java[tag=put]
include::{code-dir}/src/docs/java/org/springframework/hateoas/EmployeeController.java[tag=put]
----
====
@@ -252,7 +249,7 @@ include::{code}/src/docs/java/org/springframework/hateoas/EmployeeController.jav
====
[source,java,indent=0]
----
include::{code}/src/docs/java/org/springframework/hateoas/EmployeeController.java[tag=patch]
include::{code-dir}/src/docs/java/org/springframework/hateoas/EmployeeController.java[tag=patch]
----
====