docs($resource): clarify paramDefaults usage

Closes #6200
This commit is contained in:
linclark
2014-03-24 18:08:26 -04:00
committed by Peter Bacon Darwin
parent 35a6646a81
commit d5a92d2250

View File

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