码农笔录博客源码
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

21 rinda
833 B

pirms 6 gadiem
package routers
import (
"beeblog/controllers"
"github.com/astaxie/beego"
)
func init() {
beego.Router("/", &controllers.IndexController{})
pirms 6 gadiem
beego.Router("/500", &controllers.PageController{},"PageNotFound")
beego.Router("/404", &controllers.PageController{},"PageNotFound")
pirms 6 gadiem
beego.Router("/map", &controllers.MapController{})
pirms 6 gadiem
beego.Router("/us", &controllers.PageController{},"get:UsPage")
pirms 6 gadiem
beego.Router("/iframe/note", &controllers.PageController{},"get:IframeNote")
beego.Router("/iframe/user", &controllers.PageController{},"get:IframeUser")
beego.Router("/iframe/blog", &controllers.PageController{},"get:Blog")
pirms 6 gadiem
beego.Router("/file/upload", &controllers.FileController{}, "post:Upload")
pirms 6 gadiem
beego.Router("/himg/upload", &controllers.FileController{}, "post:HeadImgUpload")
pirms 6 gadiem
beego.Include(&controllers.PageController{})
pirms 6 gadiem
}