1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-18 11:24:14 +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
}
}
if n.handlers.enableFilter {
if ni.handlers.enableFilter {
for pos, filterList := range ni.handlers.filters {
for _, mr := range filterList {
t := NewTree()