if Object.const_defined?("Spree::User")
  Deface::Override.new(
    :virtual_path => "spree/users/show",
    :name => "address_book_account_my_orders",
    :insert_after => "[data-hook='account_my_orders'], #account_my_orders[data-hook]",
    :partial => "spree/users/addresses",
    :disabled => false
  )
end

if (Object.const_get("Spree::User") rescue false)
  Deface::Override.new(
    :virtual_path => "spree/users/show",
    :name => "address_book_account_my_orders",
    :insert_after => "[data-hook='account_my_orders'], #account_my_orders[data-hook]",
    :partial => "spree/users/addresses",
    :disabled => false
  )
end

Fix user account deface override not applied
Fix user account deface override not applied

`Object.const_defined?("Spree::User")` didn't return true even if we had a `Spree::User`, as it hadn't been loaded yet. This fixes it.
