removes invalid comment

This commit is contained in:
bergquist 2017-11-16 16:53:49 +01:00
parent 03c23dd9c1
commit 0f69e06fcf

View File

@ -81,8 +81,6 @@ func (rr *routeRegister) Register(router Router) *macaron.Router {
} }
func (rr *routeRegister) route(pattern, method string, handlers ...macaron.Handler) { func (rr *routeRegister) route(pattern, method string, handlers ...macaron.Handler) {
//inject tracing
h := make([]macaron.Handler, 0) h := make([]macaron.Handler, 0)
for _, fn := range rr.namedMiddleware { for _, fn := range rr.namedMiddleware {
h = append(h, fn(pattern)) h = append(h, fn(pattern))