1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 21:40:54 +00:00

Merge pull request #609 from JessonChan/develop

[important] bug fixed
This commit is contained in:
astaxie 2014-05-15 11:47:07 +08:00
commit af7ac98bd6

View File

@ -292,7 +292,7 @@ end:
// register models
func RegisterModel(models ...interface{}) {
RegisterModelWithPrefix("", models)
RegisterModelWithPrefix("", models...)
}
// register models with a prefix