Permalink
Browse files

fixed reference error in view.js

  • Loading branch information...
1 parent a242910 commit b9c7e3560ffbfdbc1d6be36d4bac36be52ae9b40 @nrstott committed Sep 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/view.js
View
@@ -22,7 +22,7 @@ var ViewEngine = exports.ViewEngine = function(){};
exports.viewEngine = function(engineName, views, opts) {
return Object.create(new ViewEngine(), {
engineName: { value: engineName, enumerable: true, readonly: true },
- views: { value: views || path.join(settings('template directory')), enumerable: true, readonly: true },
+ views: { value: views || path.join(setting('template directory')), enumerable: true, readonly: true },
viewCache: { value: {} },
opts: { value: opts || { cache: false } }
});

0 comments on commit b9c7e35

Please sign in to comment.