Class: ErrorsController
- Inherits:
-
ForestController
- Object
- ActionController::Base
- ApplicationController
- ForestController
- ErrorsController
- Defined in:
- app/controllers/errors_controller.rb,
app/controllers/admin/errors_controller.rb
Instance Method Summary collapse
Methods inherited from ForestController
Instance Method Details
#internal_server_error ⇒ Object
14 15 16 17 |
# File 'app/controllers/errors_controller.rb', line 14 def internal_server_error @page_title = '500 - Error' render status: 500 end |
#not_found ⇒ Object
4 5 6 7 |
# File 'app/controllers/errors_controller.rb', line 4 def not_found @page_title = '404 - Not Found' render status: 404 end |
#unprocessable ⇒ Object
9 10 11 12 |
# File 'app/controllers/errors_controller.rb', line 9 def unprocessable @page_title = '422 - Unprocessable' render status: 422 end |