method
template_path_for_local_rescue
v1.2.6 -
Show latest stable
- Class:
ActionController::Rescue
template_path_for_local_rescue(exception)private
No documentation available.
# File actionpack/lib/action_controller/rescue.rb, line 117
def template_path_for_local_rescue(exception)
rescues_path(
case exception
when MissingTemplate then "missing_template"
when RoutingError then "routing_error"
when UnknownAction then "unknown_action"
when ActionView::TemplateError then "template_error"
else "diagnostics"
end
)
end