class ErrorsController < ApplicationController
  def error404
    render status: :not_found
  end
end

class ErrorsController < ApplicationController
  def error404
    render status: :not_found
  end

  def error500
    render status: :internal_server_error
  end
end

Add an action for Status Code 500 in the Errors Controller.
Add an action for Status Code 500 in the Errors Controller.
