1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-07 23:01:56 +02:00

fix router.go

cn.ppath = ppath
This commit is contained in:
gofmt 2015-12-08 15:52:05 +08:00
parent 5cd194b6b0
commit 55d88e9b1e

View File

@ -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
}