bug fixed

This commit is contained in:
jessonchan 2014-05-15 11:34:44 +08:00 committed by astaxie
parent be30fb7937
commit 6082a0af3e
1 changed files with 1 additions and 1 deletions

View File

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