Skip to content

Commit

Permalink
fixed markdown example
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 3, 2012
1 parent 886d7e6 commit ddf24d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/markdown/app.js → examples/markdown/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ app.engine('md', function(path, options, fn){
})

app.set('views', __dirname + '/views');

// make it the default so we dont need .md
app.set('view engine', 'md');

app.get('/', function(req, res){
Expand Down

0 comments on commit ddf24d1

Please sign in to comment.