Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix properly for Ruby 1.8 and 1.9

  • Loading branch information...
commit 2c577a70471796fd2b3ed986d3a1c4bc63e801f8 1 parent 32f7738
@jviney authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/helpers/products_helper_decorator.rb
View
2  app/helpers/products_helper_decorator.rb
@@ -4,4 +4,4 @@ def variant_price_diff_with_volume_discount variant
variant_price_diff_without_volume_discount variant
end
alias_method_chain :variant_price_diff, :volume_discount
-end unless ProductsHelper.public_instance_methods.include?("variant_price_diff_with_volume_discount")
+end unless ProductsHelper.instance_method_names.include?("variant_price_diff_with_volume_discount")
Please sign in to comment.
Something went wrong with that request. Please try again.