Skip to content

Commit

Permalink
Fixing issue when editting suppliers
Browse files Browse the repository at this point in the history
  • Loading branch information
softr8 authored and mumoc committed Apr 1, 2020
1 parent ccc0181 commit ec373ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/spree/admin/suppliers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class SuppliersController < Spree::Admin::ResourceController
private

def set_address
address_attributes = permitted_resource_params.delete(:address_attributes)
@object.address = Spree::Address.immutable_merge(@object.address,
permitted_resource_params.delete(:address_attributes))
end
Expand Down

0 comments on commit ec373ba

Please sign in to comment.