Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Setting a view engine requires a . #23

Open
Noviny opened this issue Mar 1, 2017 · 0 comments
Open

Setting a view engine requires a . #23

Noviny opened this issue Mar 1, 2017 · 0 comments

Comments

@Noviny
Copy link
Contributor

Noviny commented Mar 1, 2017

Expected:
I set a view engine to pug, sending an email with view.pug should require me to pass in send('view').

Actual:
We get an error that the file viewpug could not be found.

We need to check if the view engine was defined with a dot, and then adjust how we append it appropriately.

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

No branches or pull requests

1 participant