From 868f11ad56119e9c9814d8781e3b60d98dee22e7 Mon Sep 17 00:00:00 2001 From: Ritchie Martori Date: Wed, 1 May 2013 14:36:14 -0700 Subject: [PATCH] Fix wrong path for model --- node_modules/model/lib/model-configuration.js | 2 +- node_modules/model/lib/model.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/node_modules/model/lib/model-configuration.js b/node_modules/model/lib/model-configuration.js index b4ebc546..a54efd45 100644 --- a/node_modules/model/lib/model-configuration.js +++ b/node_modules/model/lib/model-configuration.js @@ -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 diff --git a/node_modules/model/lib/model.js b/node_modules/model/lib/model.js index 95871aed..615b8907 100644 --- a/node_modules/model/lib/model.js +++ b/node_modules/model/lib/model.js @@ -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.