Sha256: 729138f9430a25d72435c88c040e5e4bf47fa1bd081d620064a3255cc7f13d4b
Contents?: true
Size: 420 Bytes
Versions: 13
Compression:
Stored size: 420 Bytes
Contents
class ErrorsController < ApplicationController with_themed_layout(nil) 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
13 entries across 13 versions & 1 rubygems