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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user