mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 09:00:55 +00:00
fix issue for runMethod and runRouter from context
This commit is contained in:
parent
1aba294405
commit
b27ab53017
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user