Class: ExceptionHandler::ExceptionsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/exception_handler/exceptions_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject

> General Show Functionality

> Introduced new “action” config option in 0.8.0.0



44
45
46
# File 'app/controllers/exception_handler/exceptions_controller.rb', line 44

def show
  respond_with @exception, status: @exception.status
end