fix path typo

This commit is contained in:
Tan Jiang 2016-04-07 18:44:29 +08:00
parent 42c398fac8
commit d725947517

View File

@ -25,9 +25,9 @@ import (
func initRouters() {
beego.SetStaticPath("registry/static/i18n", "/static/i18n")
beego.SetStaticPath("registry/static/resources", "/static/resources")
beego.SetStaticPath("registry/static/vendors", "/static/vendors")
beego.SetStaticPath("registry/static/i18n", "static/i18n")
beego.SetStaticPath("registry/static/resources", "static/resources")
beego.SetStaticPath("registry/static/vendors", "static/vendors")
beego.Router("/login", &controllers.CommonController{}, "post:Login")
beego.Router("/logout", &controllers.CommonController{}, "get:Logout")