Showing
1 changed file
with
1 additions
and
1 deletions
@@ -18,7 +18,7 @@ app.on('mount', function(parent) { | @@ -18,7 +18,7 @@ app.on('mount', function(parent) { | ||
18 | Object.assign(app.locals, parent.locals); | 18 | Object.assign(app.locals, parent.locals); |
19 | }); | 19 | }); |
20 | 20 | ||
21 | -app.use(global.yoho.hbs({ | 21 | +app.engine('.hbs', hbs({ |
22 | extname: '.hbs', | 22 | extname: '.hbs', |
23 | defaultLayout: 'layout', | 23 | defaultLayout: 'layout', |
24 | layoutsDir: doraemon, | 24 | layoutsDir: doraemon, |
-
Please register or login to post a comment