var app = require('../../server/server'); module.exports = function(Warehouse) { var models = app.models; // Methods require('../methods/warehouse/list.js')(Warehouse); };