Skip to content

Commit

Permalink
Merge pull request #39738 from mehagar/docs_404
Browse files Browse the repository at this point in the history
Remove confusing phrase from docs [ci skip]
  • Loading branch information
vipulnsward committed Jul 31, 2020
2 parents 7246136 + 2c58668 commit 2b0f454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/action_controller_overview.md
Expand Up @@ -1144,7 +1144,7 @@ Rails default exception handling displays a "500 Server Error" message for all e

### The Default 500 and 404 Templates

By default a production application will render either a 404 or a 500 error message, in the development environment all unhandled exceptions are raised. These messages are contained in static HTML files in the public folder, in `404.html` and `500.html` respectively. You can customize these files to add some extra information and style, but remember that they are static HTML; i.e. you can't use ERB, SCSS, CoffeeScript, or layouts for them.
By default, in the production environment the application will render either a 404 or a 500 error message. In the development environment all unhandled exceptions are simply raised. These messages are contained in static HTML files in the public folder, in `404.html` and `500.html` respectively. You can customize these files to add some extra information and style, but remember that they are static HTML; i.e. you can't use ERB, SCSS, CoffeeScript, or layouts for them.

### `rescue_from`

Expand Down

0 comments on commit 2b0f454

Please sign in to comment.