1
0
mirror of https://github.com/beego/bee.git synced 2024-10-31 18:50:54 +00:00

uncomment example router namespace: object & user

This commit is contained in:
ZhengYang 2014-08-01 18:56:17 +08:00
parent 2f6b7fe0a1
commit f20b75c370

View File

@ -749,7 +749,6 @@ import (
func init() { func init() {
ns := beego.NewNamespace("/v1", ns := beego.NewNamespace("/v1",
/*
beego.NSNamespace("/object", beego.NSNamespace("/object",
beego.NSInclude( beego.NSInclude(
&controllers.ObjectController{}, &controllers.ObjectController{},
@ -760,7 +759,6 @@ func init() {
&controllers.UserController{}, &controllers.UserController{},
), ),
), ),
*/
{{nameSpaces}} {{nameSpaces}}
) )
beego.AddNamespace(ns) beego.AddNamespace(ns)