diff --git a/router.go b/router.go index a3bba24b..ac47a688 100644 --- a/router.go +++ b/router.go @@ -164,7 +164,7 @@ func (r *Router) insert(method, path string, h HandlerFunc, t kind, ppath string // Node already exists if h != nil { cn.addHandler(method, h) - cn.ppath = path + cn.ppath = ppath cn.pnames = pnames cn.echo = e }