Skip to content

Commit b4550fb

Browse files
notrabdougwilson
authored andcommitted
Use ejs instead of jade within engine jsdoc
closes #3222
1 parent 4012846 commit b4550fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/application.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,9 @@ app.route = function route(path) {
262262
*
263263
* By default will `require()` the engine based on the
264264
* file extension. For example if you try to render
265-
* a "foo.jade" file Express will invoke the following internally:
265+
* a "foo.ejs" file Express will invoke the following internally:
266266
*
267-
* app.engine('jade', require('jade').__express);
267+
* app.engine('ejs', require('ejs').__express);
268268
*
269269
* For engines that do not provide `.__express` out of the box,
270270
* or if you wish to "map" a different extension to the template engine

0 commit comments

Comments
 (0)