Merge pull request #979 from easonlin404/fix-comment

fix(comment): remove todo
This commit is contained in:
Javier Provecho Fernandez 2017-07-05 17:01:51 +02:00 committed by GitHub
commit 2521d8246d

1
gin.go
View File

@ -345,7 +345,6 @@ func (engine *Engine) handleHTTPRequest(context *Context) {
}
}
// TODO: unit test
if engine.HandleMethodNotAllowed {
for _, tree := range engine.trees {
if tree.method != httpMethod {