1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-22 20:06:21 +02:00

Merge pull request #283 from gofmt/patch-1

fix router.go
This commit is contained in:
Vishal Rana 2016-03-08 19:38:21 -08:00
commit c1f86c0f15

View File

@ -172,7 +172,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
}