Class: Spree::ErrorsController
- Inherits:
-
StoreController
- Object
- ApplicationController
- StoreController
- Spree::ErrorsController
- Defined in:
- app/controllers/spree/errors_controller.rb
Instance Method Summary collapse
Methods inherited from StoreController
#account_link, #api_tokens, #cart_link, #ensure_cart
Instance Method Details
#forbidden ⇒ Object
3 4 5 |
# File 'app/controllers/spree/errors_controller.rb', line 3 def forbidden render status: 403 end |
#unauthorized ⇒ Object
7 8 9 |
# File 'app/controllers/spree/errors_controller.rb', line 7 def render status: 401 end |