Remove relation remoting

This commit is contained in:
Ritchie Martori 2014-05-20 12:47:14 -07:00
parent dc9c9b2bd4
commit 072999775e
1 changed files with 0 additions and 7 deletions

View File

@ -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;
};