Skip to content

Commit

Permalink
fixed mass-assignment error (issue citrus#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
priviterag committed May 14, 2012
1 parent f58d27b commit 3d90c37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/spree/post_product.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class Spree::PostProduct < ActiveRecord::Base

attr_accessible :post_id, :product_id, :position

belongs_to :post
belongs_to :product

Expand Down

0 comments on commit 3d90c37

Please sign in to comment.