From 2f4d1c28040457386c70c56971de2430b4db2498 Mon Sep 17 00:00:00 2001 From: Darren Stoll Date: Wed, 23 Sep 2020 00:59:23 -0600 Subject: [PATCH] fix(learn): correct typo in description (#39653) Remove hyphen in word 'view engine' --- .../set-up-a-template-engine.english.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/set-up-a-template-engine.english.md b/curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/set-up-a-template-engine.english.md index bc6ca7cecb..7193d27493 100644 --- a/curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/set-up-a-template-engine.english.md +++ b/curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/set-up-a-template-engine.english.md @@ -15,7 +15,7 @@ A template engine enables you to use static template files (such as those writte To set up Pug for use in your project, you will need to add it as a dependency in your package.json. Don't forget to add the name of the package and the version. Use the package.json for some examples of the correct syntax. -Express needs to know which template engine you are using. We will use the set method to assign 'pug' as the 'view-engine'. app.set('view engine', 'pug') +Express needs to know which template engine you are using. We will use the set method to assign 'pug' as the 'view engine'. app.set('view engine', 'pug') Your page will not load until you correctly render the index file in our 'views/pug' directory.