modify the init code

This commit is contained in:
xiemengjun 2013-01-01 23:16:29 +08:00
parent 257e25bbc1
commit 43a508309b
1 changed files with 2 additions and 2 deletions

View File

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