Class: ErrorsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ErrorsController
- Defined in:
- app/controllers/errors_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#internal_server_error ⇒ Object
9 10 11 |
# File 'app/controllers/errors_controller.rb', line 9 def internal_server_error render(status: :internal_server_error) end |
#not_found ⇒ Object
5 6 7 |
# File 'app/controllers/errors_controller.rb', line 5 def not_found render(status: :not_found) end |