Class: Spree::ErrorsController

Inherits:
StoreController show all
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

#forbiddenObject



3
4
5
# File 'app/controllers/spree/errors_controller.rb', line 3

def forbidden
  render status: 403
end

#unauthorizedObject



7
8
9
# File 'app/controllers/spree/errors_controller.rb', line 7

def unauthorized
  render status: 401
end