Class: Stall::CheckoutsController

Inherits:
ApplicationController show all
Includes:
CheckoutHelper
Defined in:
app/controllers/stall/checkouts_controller.rb

Instance Method Summary collapse

Methods included from CheckoutHelper

#available_shipping_methods_for, #step_path

Instance Method Details

#showObject



7
8
9
10
11
# File 'app/controllers/stall/checkouts_controller.rb', line 7

def show
  @cart.reset_state!
  Stall.config.service_for(:cart_update).new(@cart).refresh_associated_services!
  redirect_to step_path
end