Sha256: 2266834e81182cf6c12424bc1b428a1e3e458e985920fd2ab3c6e2338a88dfdd
Contents?: true
Size: 484 Bytes
Versions: 3
Compression:
Stored size: 484 Bytes
Contents
require File.expand_path('../application_controller', __FILE__) 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
curate-0.3.2 | app/controllers/errors_controller.rb |
curate-0.3.1 | app/controllers/errors_controller.rb |
curate-0.2.0 | app/controllers/errors_controller.rb |