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')
|
||||
, Model = require('asteroid/lib/model')
|
||||
, Model = require('./model')
|
||||
, debug = require('debug')('model-configuration')
|
||||
, util = require('util')
|
||||
, inherits = util.inherits
|
||||
|
|
|
@ -191,10 +191,10 @@ Model.create = function (data, fn) {
|
|||
* **Note:** this is a remotable instance method.
|
||||
*/
|
||||
|
||||
Model.prototype.destroy.remotable = true;
|
||||
Model.prototype.destroy = function (fn) {
|
||||
throw new Error('not implemented');
|
||||
}
|
||||
Model.prototype.destroy.remotable = true;
|
||||
|
||||
/**
|
||||
* Find by id.
|
||||
|
|
Loading…
Reference in New Issue