summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/labstack/echo/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/labstack/echo/router.go')
-rw-r--r--vendor/github.com/labstack/echo/router.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/labstack/echo/router.go b/vendor/github.com/labstack/echo/router.go
index 2ef904e0..626fe225 100644
--- a/vendor/github.com/labstack/echo/router.go
+++ b/vendor/github.com/labstack/echo/router.go
@@ -394,7 +394,7 @@ func (r *Router) Find(method, path string, c Context) {
if cn = cn.findChildByKind(akind); cn == nil {
if nn != nil {
cn = nn
- nn = nil // Next
+ nn = cn.parent // Next (Issue #954)
search = ns
if nk == pkind {
goto Param