Skip to content

Commit

Permalink
Use reflections instead of, now gone, reflections
Browse files Browse the repository at this point in the history
  • Loading branch information
luisramos0 committed Oct 13, 2020
1 parent 6d53950 commit 5e84c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/spree/payment_method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def supports?(_source)
end

def init
unless reflections.key?(:calculator)
unless _reflections.key?(:calculator)
self.class.include Spree::Core::CalculatedAdjustments
end

Expand Down

0 comments on commit 5e84c1f

Please sign in to comment.