Class: ErrorPagesEngine::ErrorsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- ErrorPagesEngine::ErrorsController
- Defined in:
- app/controllers/error_pages_engine/errors_controller.rb
Instance Method Summary collapse
Instance Method Details
#bad_request ⇒ Object
10 11 12 |
# File 'app/controllers/error_pages_engine/errors_controller.rb', line 10 def bad_request render :status => 422 end |
#not_found ⇒ Object
2 3 4 |
# File 'app/controllers/error_pages_engine/errors_controller.rb', line 2 def not_found render :status => 404 end |
#server_error ⇒ Object
6 7 8 |
# File 'app/controllers/error_pages_engine/errors_controller.rb', line 6 def server_error render :status => 500 end |