mirror of https://github.com/beego/bee.git
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