Commit 1a4eb03896f40d7479dca9070d74a74366c58205

Authored by Antonio Terceiro
2 parents 52eced61 ed1cf4da

Merge branch 'AI3254-product_info_bug' into 'master'

Ai3254 product info bug

Fixing rails 3 bug -> https://noosfero.org/Development/ActionItem3254

See merge request !283
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'
... ...