mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 12:11:28 +00:00
bug fixed
This commit is contained in:
parent
be30fb7937
commit
6082a0af3e
@ -292,7 +292,7 @@ end:
|
|||||||
|
|
||||||
// register models
|
// register models
|
||||||
func RegisterModel(models ...interface{}) {
|
func RegisterModel(models ...interface{}) {
|
||||||
RegisterModelWithPrefix("", models)
|
RegisterModelWithPrefix("", models...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// register models with a prefix
|
// register models with a prefix
|
||||||
|
Loading…
Reference in New Issue
Block a user