Skip to content

Commit d5a92d2

Browse files
linclarkpetebacondarwin
authored andcommitted
docs($resource): clarify paramDefaults usage
Closes angular#6200
1 parent 35a6646 commit d5a92d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ngResource/resource.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ function shallowClearAndCopy(src, dst) {
106106
* Given a template `/path/:verb` and parameter `{verb:'greet', salutation:'Hello'}` results in
107107
* URL `/path/greet?salutation=Hello`.
108108
*
109-
* If the parameter value is prefixed with `@` then the value of that parameter is extracted from
110-
* the data object (useful for non-GET operations).
109+
* If the parameter value is prefixed with `@` then the value of that parameter will be taken
110+
* from the corresponding key on the data object (useful for non-GET operations).
111111
*
112112
* @param {Object.<Object>=} actions Hash with declaration of custom action that should extend
113113
* the default set of resource actions. The declaration should be created in the format of {@link

0 commit comments

Comments
 (0)