diff --git a/admin/meta.go b/admin/meta.go
index <HASH>..<HASH> 100644
--- a/admin/meta.go
+++ b/admin/meta.go
@@ -155,7 +155,7 @@ func (meta *Meta) updateMeta() {
 			} else if fieldType.Kind().String() == "slice" {
 				result = reflect.New(field.Field.Type().Elem()).Interface()
 			}
-			meta.Resource = meta.base.GetAdmin().NewResource(result, nil)
+			meta.Resource = meta.base.GetAdmin().NewResource(result)
 		}
 	}
 
diff --git a/admin/meta_test.go b/admin/meta_test.go
index <HASH>..<HASH> 100644
--- a/admin/meta_test.go
+++ b/admin/meta_test.go
@@ -89,7 +89,7 @@ func TestMeta(t *testing.T) {
 	userModel := &User{Profile: profileModel}
 	db.Create(userModel)
 
-	user := Admin.AddResource(&User{}, nil)
+	user := Admin.AddResource(&User{})
 	profileNameMeta := &admin.Meta{Name: "Profile.Name"}
 	user.Meta(profileNameMeta)
 	profileSexMeta := &admin.Meta{Name: "Profile.Sex"}
Update NewResource expression. The second parameter is no longer needed.