mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 20:07:04 +00:00
see previous commit for more details
Former-commit-id: e88246203ffc492ffa39e8d20ed19cac7abd52c2
This commit is contained in:
@@ -90,7 +90,7 @@ func convertTmplToHandler(tmpl *macro.Template) context.Handler {
|
||||
}
|
||||
|
||||
// first, check for type evaluator.
|
||||
newValue, passed := p.TypeEvaluator(ctx.Parms().Get(p.Name))
|
||||
newValue, passed := p.TypeEvaluator(ctx.Params().Get(p.Name))
|
||||
if !passed {
|
||||
ctx.StatusCode(p.ErrCode)
|
||||
ctx.StopExecution()
|
||||
|
||||
Reference in New Issue
Block a user