Class: Exceptron::ExceptionsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Exceptron::ExceptionsController
- Includes:
- Helpers
- Defined in:
- lib/exceptron/exceptions_controller.rb
Class Method Summary collapse
Instance Method Summary collapse
- #internal_server_error ⇒ Object (also: #not_found, #unprocessable_entity)
Class Method Details
.inherited(subclass) ⇒ Object
14 15 16 17 |
# File 'lib/exceptron/exceptions_controller.rb', line 14 def self.inherited(subclass) super Exceptron.controller = subclass end |
Instance Method Details
#internal_server_error ⇒ Object Also known as: not_found, unprocessable_entity
8 9 10 |
# File 'lib/exceptron/exceptions_controller.rb', line 8 def internal_server_error respond_with exception_presenter end |