mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 17:51:28 +00:00
commit
af7ac98bd6
@ -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