lib/madmin/fields/has_many.rb in madmin-1.2.8 vs lib/madmin/fields/has_many.rb in madmin-1.2.9

- old
+ new

@@ -10,10 +10,10 @@ [] end end def to_param - {"#{attribute_name.to_s.singularize}_ids".to_sym => []} + {"#{attribute_name.to_s.singularize}_ids": []} end def index_path Madmin.resource_by_name(model.reflect_on_association(attribute_name).klass).index_path(format: :json) end