Procházet zdrojové kódy

product package function develop

abiao před 4 roky
rodič
revize
cd08d3a339
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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