RegisterController changes to Router

This commit is contained in:
astaxie 2013-04-11 11:13:58 +08:00
parent 714bd493fe
commit dac1e5ea5e
1 changed files with 163 additions and 163 deletions

View File

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