diff --git a/lib/express.js b/lib/express.js index 0f46533..5efaee6 100644 --- a/lib/express.js +++ b/lib/express.js @@ -37,7 +37,7 @@ function viewLookup(name, options, callback){ else var computedPath = path.join(options.dir, name); - path.exists(computedPath, function(res){ + fs.exists(computedPath, function(res){ if(res) callback(computedPath); else