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:`
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);
tothis.engine('jade', require('jade').__express);
as it's a little misleading to say
by just doing -
this.set('view engine', 'jade');