Class: Exceptions

Inherits:
AppController show all
Defined in:
app/controllers/exceptions.rb

Overview

Handles HTTP error status codes.

Instance Attribute Summary

Attributes inherited from Corrupt::Controller::Base

#headers

Instance Method Summary collapse

Methods inherited from Corrupt::Controller::Base

#content, #content=, #return_response, #template

Instance Method Details

#four_oh_fourObject

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