@@ -139,9 +139,7 @@ class Product < ActiveRecord::Base
end
puts strs
- if strs.length==0
- scopes [:inactive]
- end
+
filters [:id,:detail,:status,:name]