mirror of
https://github.com/beego/bee.git
synced 2024-12-22 15:10:49 +00:00
uncomment example router namespace: object & user
This commit is contained in:
parent
2f6b7fe0a1
commit
f20b75c370
@ -749,7 +749,6 @@ import (
|
||||
|
||||
func init() {
|
||||
ns := beego.NewNamespace("/v1",
|
||||
/*
|
||||
beego.NSNamespace("/object",
|
||||
beego.NSInclude(
|
||||
&controllers.ObjectController{},
|
||||
@ -760,7 +759,6 @@ func init() {
|
||||
&controllers.UserController{},
|
||||
),
|
||||
),
|
||||
*/
|
||||
{{nameSpaces}}
|
||||
)
|
||||
beego.AddNamespace(ns)
|
||||
|
Loading…
Reference in New Issue
Block a user