fix issue for runMethod and runRouter from context

This commit is contained in:
astaxie 2017-07-18 23:41:50 +08:00
parent 1aba294405
commit b27ab53017
1 changed files with 0 additions and 1 deletions

View File

@ -704,7 +704,6 @@ func (p *ControllerRegister) ServeHTTP(rw http.ResponseWriter, r *http.Request)
// User can define RunController and RunMethod in filter
if context.Input.RunController != nil && context.Input.RunMethod != "" {
findRouter = true
isRunnable = true
runMethod = context.Input.RunMethod
runRouter = context.Input.RunController
} else {