fix syntax error
This commit is contained in:
parent
b41584d45a
commit
f808221a7a
1 changed files with 6 additions and 3 deletions
|
|
@ -11,7 +11,8 @@ class ErrorPagesController < ApplicationController
|
|||
# 403 :forbidden
|
||||
def forbidden; end
|
||||
# 404 :not_found
|
||||
def not_found; method_not_allowed
|
||||
def not_found;
|
||||
# 405 :method_not_allowed
|
||||
def method_not_allowed; end
|
||||
# 406 :not_acceptable
|
||||
def not_acceptable; end
|
||||
|
|
@ -38,7 +39,8 @@ class ErrorPagesController < ApplicationController
|
|||
# 417 :expectation_failed
|
||||
def expectation_failed; end
|
||||
# 422 :unprocessable_entity
|
||||
def unprocessable_entity; locked
|
||||
def unprocessable_entity;
|
||||
# 423 locked
|
||||
def locked; end
|
||||
# 424 :failed_dependency
|
||||
def failed_dependency; end
|
||||
|
|
@ -47,7 +49,8 @@ class ErrorPagesController < ApplicationController
|
|||
|
||||
# 5xx Server Error
|
||||
# 500 :internal_server_error
|
||||
def internal_server_error; not_implemented
|
||||
def internal_server_error;
|
||||
# 501 not_implemented
|
||||
def not_implemented; end
|
||||
# 502 :bad_gateway
|
||||
def bad_gateway; end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue