1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 07:10:55 +00:00
This commit is contained in:
astaxie 2014-10-31 16:31:23 +08:00
parent 945b1da3a8
commit da127bbc22

View File

@ -217,7 +217,7 @@ func (n *Namespace) Namespace(ns ...*Namespace) *Namespace {
n.handlers.routers[k] = t n.handlers.routers[k] = t
} }
} }
if n.handlers.enableFilter { if ni.handlers.enableFilter {
for pos, filterList := range ni.handlers.filters { for pos, filterList := range ni.handlers.filters {
for _, mr := range filterList { for _, mr := range filterList {
t := NewTree() t := NewTree()