Skip to content

Commit

Permalink
update README.md to reflect that the complete path needs to be provided.
Browse files Browse the repository at this point in the history
  • Loading branch information
James S committed May 10, 2012
1 parent f7a22ba commit a241ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -16,7 +16,7 @@ Example in express:
var connect_handlebars = require('connect-handlebars')
app = require('express').createServer()

app.use("/templates.js", connect_handlebars("path/to/handles/templates", {
app.use("/templates.js", connect_handlebars(__dirname + "/path/to/templates", {
exts: ['hbs','handlebars']
}));

Expand Down

0 comments on commit a241ce5

Please sign in to comment.