Class: Spree::StoreController
- Inherits:
-
BaseController
- Object
- BaseController
- Spree::StoreController
show all
- Includes:
- Core::ControllerHelpers::Order, Core::ControllerHelpers::Pricing
- Defined in:
- app/controllers/spree/store_controller.rb
Instance Method Summary
collapse
Instance Method Details
#cart_link ⇒ Object
12
13
14
15
|
# File 'app/controllers/spree/store_controller.rb', line 12
def cart_link
render partial: 'spree/shared/link_to_cart'
fresh_when(current_order, template: 'spree/shared/_link_to_cart')
end
|
#unauthorized ⇒ Object
8
9
10
|
# File 'app/controllers/spree/store_controller.rb', line 8
def unauthorized
render 'spree/shared/unauthorized', layout: Spree::Config[:layout], status: 401
end
|