mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 07:30:55 +00:00
omit the data init
This commit is contained in:
parent
5d392b76c7
commit
8188873216
@ -62,7 +62,6 @@ type ControllerInterface interface {
|
||||
|
||||
// Init generates default values of controller operations.
|
||||
func (c *Controller) Init(ctx *context.Context, controllerName, actionName string, app interface{}) {
|
||||
c.Data = make(map[interface{}]interface{})
|
||||
c.Layout = ""
|
||||
c.TplNames = ""
|
||||
c.controllerName = controllerName
|
||||
|
Loading…
Reference in New Issue
Block a user