Sha256: 0ddfbb19fd95997e3f3e32232d214021c5a08748c5fb26fe01748e8b61ae5735
Contents?: true
Size: 415 Bytes
Versions: 4
Compression:
Stored size: 415 Bytes
Contents
class ErrorsController < ApplicationController layout 'curate_nd' def show render_response_for_error(exception_wrapper) end def exception @exception ||= env['action_dispatch.exception'] end protected :exception def exception_wrapper @exception_wrapper ||= ActionDispatch::ExceptionWrapper.new(env, exception) end helper_method :exception_wrapper protected :exception_wrapper end
Version data entries
4 entries across 4 versions & 1 rubygems