1
0
mirror of https://github.com/beego/bee.git synced 2024-11-21 18:40:54 +00:00

RegisterController changes to Router

This commit is contained in:
astaxie 2013-04-11 11:13:58 +08:00
parent 714bd493fe
commit dac1e5ea5e

View File

@ -120,7 +120,7 @@ import (
)
func main() {
beego.RegisterController("/", &controllers.MainController{})
beego.Router("/", &controllers.MainController{})
beego.Run()
}