Permalink
Browse files

Fix typo in class_name arg for address association in Shipment

  • Loading branch information...
1 parent 3d55dab commit 59b710bcd3dc8e740d709bae9e2aa384b959521a @radar radar committed May 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/models/spree/shipment.rb
View
2 core/app/models/spree/shipment.rb
@@ -4,7 +4,7 @@ module Spree
class Shipment < ActiveRecord::Base
belongs_to :order, :class_name => "Spree::Order"
belongs_to :shipping_method, :class_name => "Spree::ShippingMethod"
- belongs_to :address, :class_name => "Spree::AddresS"
+ belongs_to :address, :class_name => "Spree::Address"
has_many :state_changes, :as => :stateful
has_many :inventory_units, :dependent => :nullify
has_one :adjustment, :as => :source, :dependent => :destroy

0 comments on commit 59b710b

Please sign in to comment.