Remove relation remoting
This commit is contained in:
parent
dc9c9b2bd4
commit
072999775e
|
@ -412,13 +412,6 @@ Relation.belongsTo = function (anotherClass, params) {
|
|||
var f = this[methodName];
|
||||
f.apply(this, arguments);
|
||||
};
|
||||
|
||||
fn.shared = true;
|
||||
fn.http = {verb: 'get', path: '/' + methodName};
|
||||
fn.accepts = {arg: 'refresh', type: 'boolean', http: {source: 'query'}};
|
||||
fn.description = 'Fetches belongsTo relation ' + methodName;
|
||||
fn.returns = {arg: methodName, type: 'object', root: true};
|
||||
|
||||
this.prototype['__get__' + methodName] = fn;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue