Update model.js

Updated JSdoc for remoteMethod
This commit is contained in:
Rand McKinney 2015-07-07 11:01:50 -07:00
parent 860e2b0fe2
commit ae7c12552a
1 changed files with 4 additions and 3 deletions

View File

@ -399,8 +399,8 @@ module.exports = function(registry) {
};
/**
* Enable remote invocation for the method with the given name.
* See [Defining remote methods](http://docs.strongloop.com/display/LB/Defining+remote+methods) for more information.
* Enable remote invocation for the specified method.
* See [Remote methods](http://docs.strongloop.com/display/LB/Remote+methods) for more information.
*
* Static method example:
* ```js
@ -410,6 +410,7 @@ module.exports = function(registry) {
*
* @param {String} name The name of the method.
* @param {Object} options The remoting options.
* See [Remote methods - Options](http://docs.strongloop.com/display/LB/Remote+methods#Remotemethods-Options).
*/
Model.remoteMethod = function(name, options) {