Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dotkam
Copy link

@dotkam dotkam commented Feb 28, 2019

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.

As of 3.0.3, the assignment of partialsDir is no longer defaulted to 'views/partials/'. This breaks systems only using layoutsDir. This PR fixes this use case.
@dotkam dotkam changed the title Update express-handlebars.js Fix for 3.0.2 -- now throws an error when partialsDir is not set Feb 28, 2019
@dotkam dotkam changed the title Fix for 3.0.2 -- now throws an error when partialsDir is not set Fix for 3.0.2 which throws an error when partialsDir is not set Feb 28, 2019
@rvanmil
Copy link

rvanmil commented Apr 24, 2019

Here's a workaround in case someone runs into this yads/nodemailer-express-handlebars#22 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants