Skip to content

Commit

Permalink
1 more update to support views/templates
Browse files Browse the repository at this point in the history
  • Loading branch information
terrbearCodes committed Oct 15, 2011
1 parent d584a1f commit 34c6b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Hobo.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Hobo.prototype.compose = function(template, sandbox, callBack) {

(function(safeInclFile, origIncl) {

that.fileCache.readToCallback(process.cwd() + lbConfig.getConfig().templateDir + '/' + safeInclFile + '.pt', function(err, data) {
that.fileCache.readToCallback(process.cwd() + lbConfig.getConfig().templateDir + '/templates/' + safeInclFile + '.pt', function(err, data) {
if(err) {
log.error(err);
throw err;
Expand Down

0 comments on commit 34c6b8d

Please sign in to comment.