1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-22 04:17:03 +00:00

easy fix of macro handler caused tests to fail by before prev commit

Former-commit-id: 32f67072f604935a8efecc90151715f27ba7c2c1
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-09-27 21:31:07 +03:00
parent 39b180b14c
commit 972dff8729
3 changed files with 33 additions and 32 deletions

View File

@@ -85,8 +85,7 @@ func convertTmplToHandler(tmpl *macro.Template) context.Handler {
for _, p := range tmpl.Params {
if p.TypeEvaluator == nil {
// allow.
ctx.Next()
return
continue
}
// first, check for type evaluator.