method

template_path_for_local_rescue

Importance_0
v1.2.6 - Show latest stable - 0 notes - Class: ActionController::Rescue
template_path_for_local_rescue(exception) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.