mirror of
https://github.com/astaxie/beego.git
synced 2024-11-23 02:10:57 +00:00
bug fixed
This commit is contained in:
parent
9f95fd3309
commit
6f78f1d4b2
@ -292,7 +292,7 @@ end:
|
||||
|
||||
// register models
|
||||
func RegisterModel(models ...interface{}) {
|
||||
RegisterModelWithPrefix("", models)
|
||||
RegisterModelWithPrefix("", models...)
|
||||
}
|
||||
|
||||
// register models with a prefix
|
||||
|
Loading…
Reference in New Issue
Block a user