Sha256: 8a2dcf1d16c01926e8ffde447ec61c1916838fb59edface7ccddcfe6f0c928fe

Contents?: true

Size: 191 Bytes

Versions: 1

Compression:

Stored size: 191 Bytes

Contents

Spree::CheckoutController.class_eval do
  rescue_from SolidusShipCompliant::Error do |exception|
    flash[:error] = exception.message
    redirect_to checkout_state_path(:address)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_ship_compliant-1.0.0 app/controllers/spree/checkout_controller_decorator.rb