diff --git a/orm/models_boot.go b/orm/models_boot.go index 16423755..0abaf98f 100644 --- a/orm/models_boot.go +++ b/orm/models_boot.go @@ -292,7 +292,7 @@ end: // register models func RegisterModel(models ...interface{}) { - RegisterModelWithPrefix("", models) + RegisterModelWithPrefix("", models...) } // register models with a prefix