Commit ed1cf4da9dd6d8d5ac7fd524fba027ed91e2052c
1 parent
52eced61
Exists in
master
and in
22 other branches
Add attr_accessible to basic product informations attributes
(ActionItem3254)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/product.rb
... | ... | @@ -11,7 +11,7 @@ class Product < ActiveRecord::Base |
11 | 11 | |
12 | 12 | SEARCH_DISPLAYS = %w[map full] |
13 | 13 | |
14 | - attr_accessible :name, :product_category, :highlighted, :price, :enterprise, :image_builder, :description, :available, :qualifiers | |
14 | + attr_accessible :name, :product_category, :highlighted, :price, :enterprise, :image_builder, :description, :available, :qualifiers, :unit_id, :discount, :inputs | |
15 | 15 | |
16 | 16 | def self.default_search_display |
17 | 17 | 'full' | ... | ... |