Class: PublicErrorsController

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

Instance Method Summary collapse

Instance Method Details

#conflictObject

409



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

def conflict
  render :action => 'internal_server_error'
end

#forbiddenObject

403



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

def forbidden
end

#internal_server_errorObject

500



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

def internal_server_error
end

#method_not_allowedObject

405



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

def method_not_allowed
  render :action => 'internal_server_error'
end

#not_foundObject

404



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

def not_found
end

#not_implementedObject

501



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

def not_implemented
  render :action => 'internal_server_error'
end

#unprocessable_entityObject

422



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

def unprocessable_entity
end