Skip to content

Commit

Permalink
Remove wrongly commited code
Browse files Browse the repository at this point in the history
  • Loading branch information
rioug committed Mar 8, 2023
1 parent 07c5054 commit 7573717
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/controllers/split_checkout_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,6 @@ def order_params
@order_params ||= Checkout::Params.new(@order, params, spree_current_user).call
end

def address_params
params[:order][:bill_address_attributes].permit(::PermittedAttributes::Address.attributes)
end

def redirect_to_step_based_on_order
case @order.state
when "cart", "address", "delivery"
Expand Down

0 comments on commit 7573717

Please sign in to comment.