From 6082a0af3eeabe39938d20f0263debd0ba630d89 Mon Sep 17 00:00:00 2001 From: jessonchan Date: Thu, 15 May 2014 11:34:44 +0800 Subject: [PATCH] bug fixed --- orm/models_boot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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