From 55d88e9b1e884bc6876629e2b063690f2202687d Mon Sep 17 00:00:00 2001 From: gofmt Date: Tue, 8 Dec 2015 15:52:05 +0800 Subject: [PATCH] fix router.go cn.ppath = ppath --- router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }