Remove forgotten binding.pry

This commit is contained in:
Maikel Linke
2015-05-20 11:15:18 +10:00
parent 312a6299a8
commit 828456118b

View File

@@ -154,7 +154,6 @@ class AbilityDecorator
can [:admin, :index, :read, :create, :edit, :update, :fire], Spree::ReturnAuthorization
can [:destroy], Spree::Adjustment do |adjustment|
# Sharing code with destroying a line item. This should be unified and probably applied for other actions as well.
binding.pry
if user.admin?
true
elsif adjustment.adjustable.instance_of? Spree::Order