Fix wrong path for model

This commit is contained in:
Ritchie Martori 2013-05-01 14:36:14 -07:00
parent 7318acb75e
commit 868f11ad56
2 changed files with 2 additions and 2 deletions

View File

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

2
node_modules/model/lib/model.js generated vendored
View File

@ -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.