mirror of
https://github.com/beego/bee.git
synced 2024-11-21 23:50:54 +00:00
RegisterController changes to Router
This commit is contained in:
parent
714bd493fe
commit
dac1e5ea5e
@ -120,7 +120,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
beego.RegisterController("/", &controllers.MainController{})
|
beego.Router("/", &controllers.MainController{})
|
||||||
beego.Run()
|
beego.Run()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user