1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-09 13:00:18 +00:00

beego:fix typo NewControllerRegister

This commit is contained in:
astaxie
2014-06-10 20:12:57 +08:00
parent fdb5672b7a
commit 4786fb0948
6 changed files with 26 additions and 26 deletions

View File

@ -26,7 +26,7 @@ type Namespace struct {
func NewNamespace(prefix string, params ...innnerNamespace) *Namespace {
ns := &Namespace{
prefix: prefix,
handlers: NewControllerRegistor(),
handlers: NewControllerRegister(),
}
for _, p := range params {
p(ns)