Sha256: bdf1433b6e027eeb3aa281efdaa0d7a72175a682ea6de3e098460bb246bcde62
Contents?: true
Size: 445 Bytes
Versions: 10
Compression:
Stored size: 445 Bytes
Contents
require 'action_dispatch/middleware/show_exceptions' module ActionDispatch class ShowExceptions private def render_exception_with_template(env, exception) body = ErrorsController.action(rescue_responses[exception.class.name]).call(env) log_error(exception) body rescue render_exception_without_template(env, exception) end alias_method_chain :render_exception, :template end end
Version data entries
10 entries across 10 versions & 1 rubygems