Class: PublicErrorsController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/public_errors_controller.rb

Instance Method Summary collapse

Instance Method Details

#conflict ⇒ Object

409



17
18
19
# File 'app/controllers/public_errors_controller.rb', line 17

def conflict
  render :action => 'internal_server_error'
end

#forbidden ⇒ Object

403



4
5
# File 'app/controllers/public_errors_controller.rb', line 4

def forbidden
end

#internal_server_error ⇒ Object

500



26
27
# File 'app/controllers/public_errors_controller.rb', line 26

def internal_server_error
end

#method_not_allowed ⇒ Object

405



12
13
14
# File 'app/controllers/public_errors_controller.rb', line 12

def method_not_allowed
  render :action => 'internal_server_error'
end

#not_found ⇒ Object

404



8
9
# File 'app/controllers/public_errors_controller.rb', line 8

def not_found
end

#not_implemented ⇒ Object

501



30
31
32
# File 'app/controllers/public_errors_controller.rb', line 30

def not_implemented
  render :action => 'internal_server_error'
end

#unprocessable_entity ⇒ Object

422



22
23
# File 'app/controllers/public_errors_controller.rb', line 22

def unprocessable_entity
end