abiao лет назад: 4
Родитель
Сommit
b07ccd28ed
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/models/product.rb

+ 1 - 1
app/models/product.rb

@@ -128,7 +128,7 @@ class Product < ActiveRecord::Base
         weight -240
 
         list do
-            scopes [:active]
+            scopes [:inactive]
 
             filters [:id,:detail,:status,:name]