Fix wrong path for model
This commit is contained in:
parent
7318acb75e
commit
868f11ad56
|
@ -9,7 +9,7 @@ module.exports = ModelConfiguration;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var AsteroidModule = require('asteroid-module')
|
var AsteroidModule = require('asteroid-module')
|
||||||
, Model = require('asteroid/lib/model')
|
, Model = require('./model')
|
||||||
, debug = require('debug')('model-configuration')
|
, debug = require('debug')('model-configuration')
|
||||||
, util = require('util')
|
, util = require('util')
|
||||||
, inherits = util.inherits
|
, inherits = util.inherits
|
||||||
|
|
|
@ -191,10 +191,10 @@ Model.create = function (data, fn) {
|
||||||
* **Note:** this is a remotable instance method.
|
* **Note:** this is a remotable instance method.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Model.prototype.destroy.remotable = true;
|
|
||||||
Model.prototype.destroy = function (fn) {
|
Model.prototype.destroy = function (fn) {
|
||||||
throw new Error('not implemented');
|
throw new Error('not implemented');
|
||||||
}
|
}
|
||||||
|
Model.prototype.destroy.remotable = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Find by id.
|
* Find by id.
|
||||||
|
|
Loading…
Reference in New Issue