method
response_code_for_rescue
response_code_for_rescue(exception)
private
Hide source
# File actionpack/lib/action_controller/rescue.rb, line 128 def response_code_for_rescue(exception) case exception when UnknownAction, RoutingError then "404 Page Not Found" else "500 Internal Error" end end