You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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');
The text was updated successfully, but these errors were encountered:
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
by just doing -
this.set('view engine', 'jade');
The text was updated successfully, but these errors were encountered: