Class: Exceptions
- Inherits:
-
AppController
- Object
- Corrupt::Controller::Base
- AppController
- Exceptions
- Defined in:
- app/controllers/exceptions.rb
Overview
Handles HTTP error status codes.
Instance Attribute Summary
Attributes inherited from Corrupt::Controller::Base
Instance Method Summary collapse
-
#four_oh_four ⇒ Object
HTTP 404.
Methods inherited from Corrupt::Controller::Base
#content, #content=, #return_response, #template
Instance Method Details
#four_oh_four ⇒ Object
HTTP 404
5 6 7 8 |
# File 'app/controllers/exceptions.rb', line 5 def four_oh_four template('exceptions/404.haml') return_response(404) end |