Skip to content

Commit

Permalink
ericf#253 Fix issue with always defined defaultLayout property which …
Browse files Browse the repository at this point in the history
…always render default view, but the one that was specified to render.
  • Loading branch information
Romick2005 committed May 21, 2019
1 parent 5729018 commit 97ea0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/express-handlebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function ExpressHandlebars(config) {
extname : '.handlebars',
layoutsDir : undefined, // Default layouts directory is relative to `express settings.view` + `layouts/`
partialsDir : undefined, // Default partials directory is relative to `express settings.view` + `partials/`
defaultLayout : 'main',
defaultLayout : undefined,
helpers : undefined,
compilerOptions: undefined,
}, config);
Expand Down

0 comments on commit 97ea0e9

Please sign in to comment.