da127bbc by astaxie

fix #855 #859

1 parent 945b1da3
...@@ -217,7 +217,7 @@ func (n *Namespace) Namespace(ns ...*Namespace) *Namespace { ...@@ -217,7 +217,7 @@ func (n *Namespace) Namespace(ns ...*Namespace) *Namespace {
217 n.handlers.routers[k] = t 217 n.handlers.routers[k] = t
218 } 218 }
219 } 219 }
220 if n.handlers.enableFilter { 220 if ni.handlers.enableFilter {
221 for pos, filterList := range ni.handlers.filters { 221 for pos, filterList := range ni.handlers.filters {
222 for _, mr := range filterList { 222 for _, mr := range filterList {
223 t := NewTree() 223 t := NewTree()
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!