mirror of
https://github.com/beego/bee.git
synced 2024-10-31 18:50:54 +00:00
delete the router template unused router
This commit is contained in:
parent
c4514e5db7
commit
8aa92c0bd0
11
g_models.go
11
g_models.go
@ -911,17 +911,6 @@ import (
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
ns := beego.NewNamespace("/v1",
|
ns := beego.NewNamespace("/v1",
|
||||||
beego.NSNamespace("/object",
|
|
||||||
beego.NSInclude(
|
|
||||||
&controllers.ObjectController{},
|
|
||||||
),
|
|
||||||
),
|
|
||||||
|
|
||||||
beego.NSNamespace("/user",
|
|
||||||
beego.NSInclude(
|
|
||||||
&controllers.UserController{},
|
|
||||||
),
|
|
||||||
),
|
|
||||||
{{nameSpaces}}
|
{{nameSpaces}}
|
||||||
)
|
)
|
||||||
beego.AddNamespace(ns)
|
beego.AddNamespace(ns)
|
||||||
|
Loading…
Reference in New Issue
Block a user