@@ -9,7 +9,7 @@ class ProductAttrConfig < ActiveRecord::Base
showProducts=[]
@products = Product.where("show_flag=1").order("created_at desc")
@products.each do |pd|
- a=[pd.name,pd.id]
+ a=[pd.name,pd.id]
showProducts.push(a)
end
showProducts.each {|v| puts v}