Closed afischer closed 6 years ago
We need error pages for:
403 FORBIDDEN
404 NOT FOUND
422 UNPROCESSABLE ENTITY
500 INTERNAL SERVER ERROR
* Rails does this when the :verify_authenticity_token before_action fails on POST requests.
:verify_authenticity_token
before_action
POST
We need error pages for:
403 FORBIDDEN
(You ain't allowed here)404 NOT FOUND
(User went to a page that doesn't exist)422 UNPROCESSABLE ENTITY
(The server understands what you're trying to do, and the syntax is correct, but is rejecting it for another reason*)500 INTERNAL SERVER ERROR
(The server pooped out)* Rails does this when the
:verify_authenticity_token
before_action
fails onPOST
requests.