Skip to content

Commit

Permalink
fixed the typo, unknown attributes error on update
Browse files Browse the repository at this point in the history
  • Loading branch information
drefined authored and romul committed Nov 11, 2010
1 parent c319e9d commit 1d09e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spree_volume_pricing/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit 1d09e06

Please sign in to comment.