Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit d566c4b

Browse files
linclarkpetebacondarwin
authored andcommitted
docs($resource): clarify paramDefaults usage
1 parent 766b962 commit d566c4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ngResource/resource.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ function shallowClearAndCopy(src, dst) {
9494
* Given a template `/path/:verb` and parameter `{verb:'greet', salutation:'Hello'}` results in
9595
* URL `/path/greet?salutation=Hello`.
9696
*
97-
* If the parameter value is prefixed with `@` then the value of that parameter is extracted from
98-
* the data object (useful for non-GET operations).
97+
* If the parameter value is prefixed with `@` then the value of that parameter will be taken
98+
* from the corresponding key on the data object (useful for non-GET operations).
9999
*
100100
* @param {Object.<Object>=} actions Hash with declaration of custom action that should extend
101101
* the default set of resource actions. The declaration should be created in the format of {@link

0 commit comments

Comments
 (0)