Przeglądaj źródła

product package function develop

abiao 4 lat temu
rodzic
commit
cd08d3a339
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      app/models/product_item.rb

+ 2 - 1
app/models/product_item.rb

@@ -34,7 +34,9 @@ class ProductItem < ActiveRecord::Base
       # include_all_fields
       field :id
       field :product_id
+      field :title
       field :item_id
+      field :item_title
       field :nums
     end
     show do
@@ -45,7 +47,6 @@ class ProductItem < ActiveRecord::Base
     end
 
     edit do
-      field :id
       field :product_id
       field :item_id
       field :nums