Skip to content

Commit 8263265

Browse files
committed
Fix documentation links
1 parent 0d71bce commit 8263265

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- [Usage of `_resources` method](#usage-of-_resources-method)
1111
- [The `_resources` method parameters and return type](#the-_resources-method-parameters-and-return-type)
1212
- [`_resources` usage example](#_resources-usage-example)
13-
- [Exchange the underlying Angular `$resource` function](#exchange-the-underlying-angular-$resource-function)
13+
- [Exchange the underlying Angular `$resource` function](#exchange-the-underlying-angular-resource-function)
1414
- [Usage of `_embeddedItems` property](#usage-of-_embeddeditems-property)
1515
- [`_embeddedItems` usage example](#_embeddeditems-usage-example)
1616
- [Configuration of the `SpringDataRestAdapter`](#configuration-of-the-springdatarestadapter)
@@ -82,7 +82,7 @@ This *Angular* module provides two ways of processing a response from the *Sprin
8282

8383
The `spring-data-rest` *Angular* module provides a provider for the `SpringDataRestAdapter` object. This object is the core of the module and it processes a given response and adds the following additional properties/methods to it:
8484

85-
1. `_resources`: this method wraps the *Angular* `$resource` function by default (this is [exchangeable](#exchange-the-underlying-angular-$resource-function)) and adds an easy way to retrieve the resources defined in the `_links` property. It is also used to retrieve all available resources of the given object. Read more about this property [here](#usage-of-_resources-property).
85+
1. `_resources`: this method wraps the *Angular* `$resource` function by default (this is [exchangeable](#exchange-the-underlying-angular-resource-function)) and adds an easy way to retrieve the resources defined in the `_links` property. It is also used to retrieve all available resources of the given object. Read more about this property [here](#usage-of-_resources-property).
8686
2. `_embeddedItems`: this property replaces the `_embedded` property and sets the named array (`categories` in the upper example response) with the embedded items as its value. Read more about this property [here](#usage-of-_embeddedItems-property).
8787

8888
Spring Data REST also generates an index response when you make a `GET` response to the configured base url of the dispatcher servlet. This response looks like the following example:
@@ -170,7 +170,7 @@ var resourceObject = {
170170
processedResponse._resources(resourceObject, paramDefaults, actions, options);
171171
```
172172

173-
This will call *Angular* `$resource` method by default (this is [exchangeable](#exchange-the-underlying-angular-$resource-function)) with the `href` of the `self` resource and will add the parameters `size` and `sort` as query string to the URL. If the resource object parameters and the `paramDefaults` parameters are set, then these two objects are merged such that the resource object parameters appear first in the new object and the `paramDefaults` parameters last.
173+
This will call *Angular* `$resource` method by default (this is [exchangeable](#exchange-the-underlying-angular-resource-function)) with the `href` of the `self` resource and will add the parameters `size` and `sort` as query string to the URL. If the resource object parameters and the `paramDefaults` parameters are set, then these two objects are merged such that the resource object parameters appear first in the new object and the `paramDefaults` parameters last.
174174

175175
* `paramDefaults`: the default values for url parameters. Read more [here](https://docs.angularjs.org/api/ngResource/service/$resource).
176176
* `actions`: custom action that should extend the default set of the `$resource` actions. Read more [here](https://docs.angularjs.org/api/ngResource/service/$resource).
@@ -288,7 +288,7 @@ The `SpringDataRestAdapter` is designed to be configurable and you are able to c
288288
* `embedded.value` (default: `_embeddedItems`): the property name where the array of embedded items are stored.
289289
* `hrefKey` (default: `href`): the property name where the url is stored under each specific link.
290290
* `resourcesKey` (default: `_resources`): the property name where the resource method is stored.
291-
* `resourcesFunction` (default: `undefined`): the function to use to call the backend. Read more how to do this [here](#exchange-the-underlying-angular-$resource-function)
291+
* `resourcesFunction` (default: `undefined`): the function to use to call the backend. Read more how to do this [here](#exchange-the-underlying-angular-resource-function)
292292

293293
You are able to configure the `SpringDataRestAdapter` provider in a *Angular* configuration block in the following way:
294294

0 commit comments

Comments
 (0)