From a88c4399d4423daa17158e33f23329b330ca2727 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Thu, 13 Oct 2016 13:31:40 -0700 Subject: [PATCH] fixed #675 Signed-off-by: Vishal Rana --- group.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/group.go b/group.go index bd467a4f..12a2123d 100644 --- a/group.go +++ b/group.go @@ -16,11 +16,6 @@ type ( // Use implements `Echo#Use()` for sub-routes within the Group. func (g *Group) Use(m ...MiddlewareFunc) { g.middleware = append(g.middleware, m...) - // Allow all requests to reach the group as they might get dropped if router - // doesn't find a match, making none of the group middleware process. - g.echo.Any(g.prefix+"*", func(c Context) error { - return ErrNotFound - }, g.middleware...) } // CONNECT implements `Echo#CONNECT()` for sub-routes within the Group.