Przeglądaj źródła

增加商品属性定义

abiao 5 lat temu
rodzic
commit
1c00dcaafb
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      app/models/product_attr_config.rb

+ 1 - 0
app/models/product_attr_config.rb

@@ -3,6 +3,7 @@ class ProductAttrConfig < ActiveRecord::Base
     self.table_name = 'product_attr_configs'
     belongs_to :product_attr_key, :foreign_key => :attr_key_id
     validates :size_type,presence:true
+    attr_accessor :show_products
 
 
     def show_products