Sha256: 0555bcc98402e769a60e536afbc589ec80a2c2e22bf4313e446266b527eef47e
Contents?: true
Size: 451 Bytes
Versions: 4
Compression:
Stored size: 451 Bytes
Contents
class PublicErrorsController < ActionController::Base # 403 def forbidden end # 404 def not_found end # 405 def method_not_allowed render :action => 'internal_server_error' end # 409 def conflict render :action => 'internal_server_error' end # 422 def unprocessable_entity end # 500 def internal_server_error end # 501 def not_implemented render :action => 'internal_server_error' end end
Version data entries
4 entries across 4 versions & 1 rubygems