1b778509 by asta.xie

should copy the data direct. don't need range

1 parent c4250872
......@@ -76,9 +76,7 @@ func (c *Controller) Init(ctx *context.Context, controllerName, actionName strin
c.TplExt = "tpl"
c.AppController = app
c.EnableReander = true
for k, v := range ctx.Input.Data {
c.Data[k] = v
}
c.Data = ctx.Input.Data
}
// Prepare runs after Init before request function execution.
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!