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