koajs / koa-hbs

Handlebars templates for Koa.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Always "Not found"

yanickrochon opened this issue · comments

Is there any way to throw errors? I get "Not found" for very simple settings ({ viewPath: __dirname + '/views' }), and I'm replicating as best as I can the tests, nothing does and I don't get it. :)

Note: the viewPath value exists, as fs.existsSync(options.viewPath) returns true.

Nevermind, I forgot the yield before this.render(...).