Skip to content

修改view-koa案列中 初始化nunjucks时 path参数未使用的bug - #4

Merged
michaelliao merged 1 commit into
michaelliao:masterfrom
mark422:master
Oct 11, 2016
Merged

修改view-koa案列中 初始化nunjucks时 path参数未使用的bug#4
michaelliao merged 1 commit into
michaelliao:masterfrom
mark422:master

Conversation

@mark422

@mark422 mark422 commented Oct 11, 2016

Copy link
Copy Markdown
Contributor

按照廖老师代码的语义,templating函数的第一个参数应为模板路径,但是在实际new nunjucks模版的时候,使用的是固定路径"views",这里应为path参数

@michaelliao
michaelliao merged commit 4a3c9c5 into michaelliao:master Oct 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants