Class: Spree::Api::ErrorsController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/spree/api/errors_controller.rb

Instance Method Summary collapse

Instance Method Details

#render_404Object



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

def render_404
  render 'spree/api/errors/not_found', status: 404
end