Selaa lähdekoodia

增加商品属性定义

abiao 5 vuotta sitten
vanhempi
commit
50c0d48acb
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/models/product.rb

+ 1 - 1
app/models/product.rb

@@ -104,8 +104,8 @@ class Product < ActiveRecord::Base
             end
             field :is_only_new
             field :video_state
+            field :get_size_enum
             field :size_id, :enum do
-                get_size_enum
                 enum do
                     SIZE_ENUM
                 end