Class: Stall::CheckoutBaseController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Stall::CheckoutBaseController
- Includes:
- CheckoutHelper
- Defined in:
- app/controllers/stall/checkout_base_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#set_stall_layout ⇒ Object
Use specific checkout layout if needed or default to parent one.
Methods included from CheckoutHelper
#available_shipping_methods_for, #step_path
Instance Method Details
#set_stall_layout ⇒ Object
Use specific checkout layout if needed or default to parent one
7 8 9 10 11 12 |
# File 'app/controllers/stall/checkout_base_controller.rb', line 7 def set_stall_layout return false if request.xhr? return Stall.config.checkout_layout if Stall.config.checkout_layout super end |