diff --git a/app/controllers/checkout_controller.rb b/app/controllers/checkout_controller.rb index 1b8cd07d67..a1c69500bf 100644 --- a/app/controllers/checkout_controller.rb +++ b/app/controllers/checkout_controller.rb @@ -14,7 +14,7 @@ class CheckoutController < ::BaseController # We need pessimistic locking to avoid race conditions. # Otherwise we fail on duplicate indexes or end up with negative stock. - prepend_around_action CurrentOrderLocker, only: :update + prepend_around_action CurrentOrderLocker, only: [:edit, :update] prepend_before_action :check_hub_ready_for_checkout prepend_before_action :check_order_cycle_expiry