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

Version Path
curate-0.6.6 app/controllers/errors_controller.rb
curate-0.6.5 app/controllers/errors_controller.rb
curate-0.6.4 app/controllers/errors_controller.rb
curate-0.6.3 app/controllers/errors_controller.rb
curate-0.6.1 app/controllers/errors_controller.rb
curate-0.6.0 app/controllers/errors_controller.rb
curate-0.5.6 app/controllers/errors_controller.rb
curate-0.5.5 app/controllers/errors_controller.rb
curate-0.5.4 app/controllers/errors_controller.rb
curate-0.5.2 app/controllers/errors_controller.rb
curate-0.5.1 app/controllers/errors_controller.rb
curate-0.5.0 app/controllers/errors_controller.rb
curate-0.4.2 app/controllers/errors_controller.rb