Class: Errorkit::ErrorsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Errorkit::ErrorsController
- Defined in:
- lib/errorkit/errors_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/errorkit/errors_controller.rb', line 9 def show begin render "errors/#{rescue_response}", status: status_code rescue ActionView::MissingTemplate render "errors/show", status: status_code end end |