Permalink
Browse files

fixed the typo, unknown attributes error on update

  • Loading branch information...
1 parent c319e9d commit 1d09e063c085a46828282bf649285a7c8087917f @drefined drefined committed with romul Nov 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/spree_volume_pricing/engine.rb
@@ -80,7 +80,7 @@ def to_range
Admin::VariantsController.class_eval do
update.before do
- params[:variant][:volume_price_attributes] ||= {}
+ params[:variant][:volume_prices_attributes] ||= {}
end
update.response do |wants|

0 comments on commit 1d09e06

Please sign in to comment.