express-handlebars icon indicating copy to clipboard operation
express-handlebars copied to clipboard

Fix for 3.0.2 which throws an error when partialsDir is not set

Open dotkam opened this issue 6 years ago • 1 comments

As of 3.0.2, the initial assignment of partialsDir is no longer defaulted to 'views/partials/'. This breaks systems which only use layoutsDir. This PR fixes this use case.

dotkam avatar Feb 28 '19 23:02 dotkam

Here's a workaround in case someone runs into this https://github.com/yads/nodemailer-express-handlebars/issues/22#issuecomment-468718136

rvanmil avatar Apr 24 '19 08:04 rvanmil