Skip to content

Commit

Permalink
reference error
Browse files Browse the repository at this point in the history
  • Loading branch information
kbjr committed Jul 8, 2012
1 parent 72a9dc4 commit b7d93da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ exports.init = function(conf) {
file = file.split('.');
if (file.length > 1 && file.pop() === 'js') {
file = file.join('.');
file = path.join(modelPath, file);
file = path.join(conf.modelPath, file);
models[path.basename(file)] = file;
}
});
Expand Down

0 comments on commit b7d93da

Please sign in to comment.