mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 14:10:54 +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.
|
// Init generates default values of controller operations.
|
||||||
func (c *Controller) Init(ctx *context.Context, controllerName, actionName string, app interface{}) {
|
func (c *Controller) Init(ctx *context.Context, controllerName, actionName string, app interface{}) {
|
||||||
c.Data = make(map[interface{}]interface{})
|
|
||||||
c.Layout = ""
|
c.Layout = ""
|
||||||
c.TplNames = ""
|
c.TplNames = ""
|
||||||
c.controllerName = controllerName
|
c.controllerName = controllerName
|
||||||
|
Loading…
Reference in New Issue
Block a user