-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No longer returns ActiveRecord::NotFoundError for static entries
With an exception `ActiveRecord::NotFoundError` raised, rails handles this error within the controller as a 404 error, which seems legit for these kinds of error. However, with static content like forms, if we remove or rename/change forms we don't want to have a 404 error but a 500 error if it happens (better not to have error ofc, but best case is to catch it and fix it)
- Loading branch information
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters