1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 03:21:29 +00:00

goto bug fixed

This commit is contained in:
JessonChan 2016-03-15 16:51:21 +08:00
parent 8660a54fac
commit c51bc86d3f

View File

@ -652,7 +652,7 @@ func (p *ControllerRegister) ServeHTTP(rw http.ResponseWriter, r *http.Request)
if err != nil { if err != nil {
Error(err) Error(err)
exception("503", context) exception("503", context)
return goto Admin
} }
defer func() { defer func() {
if context.Input.CruSession != nil { if context.Input.CruSession != nil {