Skip to content

Commit

Permalink
Remove duplicate Order#available_payment_methods method
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Jun 26, 2012
1 parent 5da5526 commit c680c14
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/app/models/spree/order.rb
Original file line number Diff line number Diff line change
Expand Up @@ -420,10 +420,6 @@ def available_shipping_methods(display_on = nil)
ShippingMethod.all_available(self, display_on)
end

def available_payment_methods(display_on = nil)
PaymentMethod.all(display_on)
end

def rate_hash
@rate_hash ||= available_shipping_methods(:front_end).collect do |ship_method|
next unless cost = ship_method.calculator.compute(self)
Expand Down

0 comments on commit c680c14

Please sign in to comment.