Skip to content

Commit

Permalink
Merge 7361b2c into abbb53f
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Andringa committed May 28, 2014
2 parents abbb53f + 7361b2c commit 637e8b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/controller.js
Expand Up @@ -127,7 +127,7 @@ Controller.prototype.render = function(template, options, fn) {
});

var fopts = this.__app._formats[fmt] || {}
, comps = [ tmpl, fmt, (app && app.set('view engine')) || 'ejs' ]
, comps = [ tmpl, fmt, (app && app.get('view engine')) || 'ejs' ]
, ext;
if (options.engine) {
comps = [ tmpl, fmt, options.engine ];
Expand Down

0 comments on commit 637e8b1

Please sign in to comment.