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:
parent
2f6b7fe0a1
commit
f20b75c370
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user