Browse files

revert to non OOP 3.0.0 Express. Lets try again

  • Loading branch information...
1 parent 6a80026 commit e817da1012aeff0a5bc2a3be1822c87b7f668db9 @pauliusuza pauliusuza committed Mar 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/application.js
View
2 lib/application.js
@@ -512,7 +512,7 @@ app.render = function(name, options, fn){
if (!view) {
view = new View(name, {
defaultEngine: this.get('view engine')
- defaultLayout: this.get('view layout') || 'layout'
+ , defaultLayout: this.get('view layout') || 'layout'
, root: this.get('views') || process.cwd() + '/views'
, engines: engines
});

0 comments on commit e817da1

Please sign in to comment.