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

Update view engine jade example in the guide #179

Open
benrlodge opened this issue Nov 27, 2015 · 1 comment
Open

Update view engine jade example in the guide #179

benrlodge opened this issue Nov 27, 2015 · 1 comment

Comments

@benrlodge
Copy link

On the jade example of changing the view engine in the guide under the settings heading, it would be nice to add that you also need to change:
this.engine('ejs', require('ejs').__express);
to
this.engine('jade', require('jade').__express);

as it's a little misleading to say

That is easily changed by setting the view engine option in config/environments/all.js:`

by just doing -
this.set('view engine', 'jade');

@crispen-smith
Copy link

+1

However, this once again raises the question of maintenance.

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

No branches or pull requests

2 participants